Home
last modified time | relevance | path

Searched refs:distanceSquared (Results 1 – 25 of 234) sorted by relevance

12345678910

/dports/graphics/geos/geos-3.9.1/include/geos/algorithm/distance/
H A DPointPairDistance.h42 distanceSquared(DoubleNotANumber), in PointPairDistance()
57 distanceSquared = p0.distanceSquared(p1); in initialize()
64 return std::sqrt(distanceSquared); in getDistance()
93 double distSq = p0.distanceSquared(p1); in setMaximum()
94 if(distSq > distanceSquared) { in setMaximum()
112 double distSq = p0.distanceSquared(p1); in setMinimum()
113 if(distSq < distanceSquared) { in setMinimum()
138 distanceSquared = distSquared; in initialize()
144 double distanceSquared; variable
/dports/graphics/partio/partio-1.14.6/src/lib/core/
H A DKdTree.h196 NearestQuery(uint64_t *result,float *distanceSquared,const float pquery_in[k], in NearestQuery()
198 :result(result),distanceSquared(distanceSquared),maxPoints(maxPoints), in NearestQuery()
204 float *distanceSquared; member
221 float findNPoints(std::vector<uint64_t>& result,std::vector<float>& distanceSquared,
223 int findNPoints(uint64_t *result,float *distanceSquared, float *finalSearchRadius2,
352 std::vector<float>& distanceSquared,const float p[k],int nPoints,float maxRadius) const in findNPoints() argument
355 distanceSquared.resize (nPoints); in findNPoints()
359 distanceSquared.resize(size); in findNPoints()
364 int KdTree<k>::findNPoints(uint64_t *result, float *distanceSquared, float *finalSearchRadius2, in findNPoints() argument
371 NearestQuery query(result,distanceSquared,p,nPoints,radius_squared); in findNPoints()
[all …]
/dports/math/mlpack/mlpack-3.4.2/src/mlpack/core/kernels/
H A Depanechnikov_kernel.cpp63 distanceSquared) const in GradientForSquaredDistance()
66 if (distanceSquared < bandwidthSquared) in GradientForSquaredDistance()
70 else if (distanceSquared > bandwidthSquared && in GradientForSquaredDistance()
71 distanceSquared >= 0) in GradientForSquaredDistance()
/dports/games/0ad/0ad-0.0.23b-alpha/libraries/source/fcollada/src/FCollada/FUtils/
H A DFUBoundingSphere.cpp75 float distanceSquared = centerToCenter.LengthSquared(); in Overlaps() local
76 …bool overlaps = distanceSquared < (radius + boundingSphere.radius) * (radius + boundingSphere.radi… in Overlaps()
79 float distance = sqrtf(distanceSquared); in Overlaps()
118 float distanceSquared = (center - point).LengthSquared(); in Include() local
119 if (distanceSquared > (radius * radius)) in Include()
121 radius = sqrtf(distanceSquared); in Include()
/dports/science/cdk/cdk-cdk-2.3/tool/pcore/src/main/java/org/openscience/cdk/pharmacophore/
H A DPharmacophoreAngleBond.java57 double a2 = atom3.getPoint3d().distanceSquared(atom1.getPoint3d()); in getBondLength()
58 double b2 = atom3.getPoint3d().distanceSquared(atom2.getPoint3d()); in getBondLength()
59 double c2 = atom2.getPoint3d().distanceSquared(atom1.getPoint3d()); in getBondLength()
/dports/science/jmol/jmol-14.32.7/src/org/jmol/bspt/
H A DPointIterator.java71 if (bsp.get(pt2.i) && pt2.distanceSquared(p) <= d2 && (++n > 1)) in withinDistPoints()
87 distance = pta.distanceSquared(pt); in withinDistPoints()
103 distance = pta.distanceSquared(pt); in withinDistPoints()
121 if (pt2.distanceSquared(pt) <= d2) in withinDistPoints()
/dports/www/firefox-esr/firefox-91.8.0/gfx/skia/skia/src/pathops/
H A DSkOpCubicHull.cpp101 double dist1_0 = fPts[1].distanceSquared(fPts[0]); in convexHull()
102 double dist1_3 = fPts[1].distanceSquared(fPts[3]); in convexHull()
103 double dist2_0 = fPts[2].distanceSquared(fPts[0]); in convexHull()
104 double dist2_3 = fPts[2].distanceSquared(fPts[3]); in convexHull()
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/skia/skia/src/pathops/
H A DSkOpCubicHull.cpp101 double dist1_0 = fPts[1].distanceSquared(fPts[0]); in convexHull()
102 double dist1_3 = fPts[1].distanceSquared(fPts[3]); in convexHull()
103 double dist2_0 = fPts[2].distanceSquared(fPts[0]); in convexHull()
104 double dist2_3 = fPts[2].distanceSquared(fPts[3]); in convexHull()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/src/pathops/
H A DSkOpCubicHull.cpp101 double dist1_0 = fPts[1].distanceSquared(fPts[0]); in convexHull()
102 double dist1_3 = fPts[1].distanceSquared(fPts[3]); in convexHull()
103 double dist2_0 = fPts[2].distanceSquared(fPts[0]); in convexHull()
104 double dist2_3 = fPts[2].distanceSquared(fPts[3]); in convexHull()
/dports/www/firefox/firefox-99.0/gfx/skia/skia/src/pathops/
H A DSkOpCubicHull.cpp101 double dist1_0 = fPts[1].distanceSquared(fPts[0]); in convexHull()
102 double dist1_3 = fPts[1].distanceSquared(fPts[3]); in convexHull()
103 double dist2_0 = fPts[2].distanceSquared(fPts[0]); in convexHull()
104 double dist2_3 = fPts[2].distanceSquared(fPts[3]); in convexHull()
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/skia/skia/src/pathops/
H A DSkOpCubicHull.cpp101 double dist1_0 = fPts[1].distanceSquared(fPts[0]); in convexHull()
102 double dist1_3 = fPts[1].distanceSquared(fPts[3]); in convexHull()
103 double dist2_0 = fPts[2].distanceSquared(fPts[0]); in convexHull()
104 double dist2_3 = fPts[2].distanceSquared(fPts[3]); in convexHull()
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/skia/skia/src/pathops/
H A DSkOpCubicHull.cpp101 double dist1_0 = fPts[1].distanceSquared(fPts[0]);
102 double dist1_3 = fPts[1].distanceSquared(fPts[3]);
103 double dist2_0 = fPts[2].distanceSquared(fPts[0]);
104 double dist2_3 = fPts[2].distanceSquared(fPts[3]);
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/src/pathops/
H A DSkOpCubicHull.cpp101 double dist1_0 = fPts[1].distanceSquared(fPts[0]); in convexHull()
102 double dist1_3 = fPts[1].distanceSquared(fPts[3]); in convexHull()
103 double dist2_0 = fPts[2].distanceSquared(fPts[0]); in convexHull()
104 double dist2_3 = fPts[2].distanceSquared(fPts[3]); in convexHull()
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/skia/skia/src/pathops/
H A DSkOpCubicHull.cpp101 double dist1_0 = fPts[1].distanceSquared(fPts[0]); in convexHull()
102 double dist1_3 = fPts[1].distanceSquared(fPts[3]); in convexHull()
103 double dist2_0 = fPts[2].distanceSquared(fPts[0]); in convexHull()
104 double dist2_3 = fPts[2].distanceSquared(fPts[3]); in convexHull()
/dports/science/InsightToolkit/ITK-5.0.1/Modules/Core/Common/include/
H A DitkEllipsoidInteriorExteriorSpatialFunction.hxx56 double distanceSquared = 0; in Evaluate() local
75distanceSquared += std::pow( static_cast< double >( ( orientationVector * pointVector ) / ( .5 * m… in Evaluate()
79 if ( distanceSquared <= 1 ) in Evaluate()
/dports/java/jgraph/jgraph-java-5.13.0.4/src/com/jgraph/layout/organic/
H A DJGraphOrganicLayout.java727 double distanceSquared = vx * vx + vy * vy; in getNodeDistribution() local
728 distanceSquared -= v[i].radiusSquared; in getNodeDistribution()
729 distanceSquared -= v[j].radiusSquared; in getNodeDistribution()
732 if (distanceSquared < minDistanceLimitSquared) { in getNodeDistribution()
733 distanceSquared = minDistanceLimitSquared; in getNodeDistribution()
736 energy += nodeDistributionCostFactor / distanceSquared; in getNodeDistribution()
744 double distanceSquared = vx * vx + vy * vy; in getNodeDistribution() local
745 distanceSquared -= v[i].radiusSquared; in getNodeDistribution()
746 distanceSquared -= v[j].radiusSquared; in getNodeDistribution()
752 if (distanceSquared < minDistanceLimitSquared) { in getNodeDistribution()
[all …]
H A DJGraphSelfOrganizingOrganicLayout.java314 double distanceSquared = (randomX - cellLocation[i][0]) * in updateToRandomNode() local
317 if (distanceSquared < smallestDelta) { in updateToRandomNode()
320 smallestDelta = distanceSquared; in updateToRandomNode()
/dports/java/jgraphx/jgraphx-4.2.2/src/com/mxgraph/layout/
H A DmxOrganicLayout.java809 double distanceSquared = vx * vx + vy * vy; in getNodeDistribution() local
810 distanceSquared -= v[i].radiusSquared; in getNodeDistribution()
811 distanceSquared -= v[j].radiusSquared; in getNodeDistribution()
814 if (distanceSquared < minDistanceLimitSquared) in getNodeDistribution()
816 distanceSquared = minDistanceLimitSquared; in getNodeDistribution()
819 energy += nodeDistributionCostFactor / distanceSquared; in getNodeDistribution()
831 double distanceSquared = vx * vx + vy * vy; in getNodeDistribution() local
832 distanceSquared -= v[i].radiusSquared; in getNodeDistribution()
833 distanceSquared -= v[j].radiusSquared; in getNodeDistribution()
839 if (distanceSquared < minDistanceLimitSquared) in getNodeDistribution()
[all …]
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/OgreMain/src/
H A DOgrePixelCountLodStrategy.cpp114 Real distanceSquared = movableObject->getParentNode()->getSquaredViewDepth(camera); in getValueImpl() local
117 if (distanceSquared <= std::numeric_limits<Real>::epsilon()) in getValueImpl()
124 … (boundingArea * viewportArea * projectionMatrix[0][0] * projectionMatrix[1][1]) / distanceSquared; in getValueImpl()
/dports/graphics/ogre3d/ogre-1.11.6/OgreMain/src/
H A DOgrePixelCountLodStrategy.cpp114 Real distanceSquared = movableObject->getParentNode()->getSquaredViewDepth(camera); in getValueImpl() local
117 if (distanceSquared <= std::numeric_limits<Real>::epsilon()) in getValueImpl()
124 … (boundingArea * viewportArea * projectionMatrix[0][0] * projectionMatrix[1][1]) / distanceSquared; in getValueImpl()
/dports/science/jmol/jmol-14.32.7/src/org/jmol/modelset/
H A DAtomIteratorWithinModel.java53 private float distanceSquared; field in AtomIteratorWithinModel
131 distanceSquared = distance * distance; in setCenter2()
200 d = distanceSquared; in addAtoms()
/dports/graphics/drawpile/Drawpile-2.1.20/src/desktop/widgets/
H A Dkis_curve_widget_p.h181 double distanceSquared = (pt.x() - point.x()) * in nearestPointInRange() local
186 if (distanceSquared < nearestDistanceSquared) { in nearestPointInRange()
188 nearestDistanceSquared = distanceSquared; in nearestPointInRange()
/dports/graphics/openorienteering-mapper/mapper-0.9.2/src/tools/
H A Dtool.cpp50 qreal distanceSquared(QPointF a, const QPointF& b) in distanceSquared() function
277 if (distanceSquared(widget->mapToViewport(point->getCoordF()), cursor) <= click_tolerance_squared) in findHoverPoint()
290 if (distanceSquared(widget->mapToViewport(text_handles[i]), cursor) <= click_tolerance_squared) in findHoverPoint()
308 auto distance_sq = distanceSquared(widget->mapToViewport(path->getCoordinate(i)), cursor); in findHoverPoint()
/dports/science/gromacs/gromacs-2021.4/src/gromacs/mdlib/tests/
H A Dshake.cpp112 std::vector<real> distanceSquared; in computeDistancesSquared() local
116 distanceSquared.push_back(0.0); in computeDistancesSquared()
120 distanceSquared.back() += displacement * displacement; in computeDistancesSquared()
124 return distanceSquared; in computeDistancesSquared()
/dports/graphics/krita/krita-4.4.8/libs/ui/widgets/
H A Dkis_curve_widget_p.h179 double distanceSquared = (pt.x() - point.x()) * in nearestPointInRange() local
184 if (distanceSquared < nearestDistanceSquared) { in nearestPointInRange()
186 nearestDistanceSquared = distanceSquared; in nearestPointInRange()

12345678910