/dports/multimedia/kdenlive/kdenlive-21.12.3/tests/ |
H A D | snaptest.cpp | 13 REQUIRE(snap.getClosestPoint(0) == -1); 14 REQUIRE(snap.getClosestPoint(10) == -1); 17 REQUIRE(snap.getClosestPoint(0) == 10); 18 REQUIRE(snap.getClosestPoint(10) == 10); 19 REQUIRE(snap.getClosestPoint(11) == 10); 20 REQUIRE(snap.getClosestPoint(9) == 10); 24 REQUIRE(snap.getClosestPoint(0) == 10); 25 REQUIRE(snap.getClosestPoint(10) == 10); 26 REQUIRE(snap.getClosestPoint(11) == 10); 27 REQUIRE(snap.getClosestPoint(9) == 10); [all …]
|
/dports/graphics/Coin/coin-Coin-4.0.0/src/projectors/ |
H A D | SbCylinderPlaneProjector.cpp | 141 pt1 = horizline.getClosestPoint(point1); in getRotation() 142 pt2 = horizline.getClosestPoint(point2); in getRotation() 148 SbVec3f ptOnLine = this->planeLine.getClosestPoint(point1); in getRotation() 154 pt1_tol = horizline.getClosestPoint(pt1_tol); in getRotation() 160 SbVec3f ptOnLine = this->planeLine.getClosestPoint(point2); in getRotation() 166 pt2_tol = horizline.getClosestPoint(pt2_tol); in getRotation()
|
H A D | SbCylinderSectionProjector.cpp | 129 SbVec3f ptOnLine = this->planeLine.getClosestPoint(projpt); in project() 148 SbVec3f v1 = point1 - axis.getClosestPoint(point1); in getRotation() 149 SbVec3f v2 = point2 - axis.getClosestPoint(point2); in getRotation() 202 SbVec3f ptonline = this->planeLine.getClosestPoint(point); in isWithinTolerance() 228 SbVec3f ptonaxis = axis.getClosestPoint(somept); in setupTolerance()
|
H A D | SbCylinderSheetProjector.cpp | 175 SbVec3f v1 = point1 - axis.getClosestPoint(point1); in getRotation() 176 SbVec3f v2 = point2 - axis.getClosestPoint(point2); in getRotation() 207 SbVec3f ptOnAxis = axis.getClosestPoint(somePt); in setupPlane()
|
H A D | SbCylinderProjector.cpp | 202 camdir = campos - this->cylinder.getAxis().getClosestPoint(point); in isPointInFront() 209 SbVec3f ptdir = point - this->cylinder.getAxis().getClosestPoint(point); in isPointInFront()
|
/dports/multimedia/kdenlive/kdenlive-21.12.3/src/timeline2/model/ |
H A D | snapmodel.cpp | 35 int SnapModel::getClosestPoint(int position) in getClosestPoint() function in SnapModel 104 int snapped_pos = getClosestPoint(target_pos); in proposeSize() 110 int snapped_pos = getClosestPoint(target_pos); in proposeSize() 125 int snapped_pos = getClosestPoint(target_pos); in proposeSize() 131 int snapped_pos = getClosestPoint(target_pos); in proposeSize()
|
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/surface/include/pcl/surface/on_nurbs/ |
H A D | nurbs_tools.h | 68 getClosestPoint (const Eigen::Vector2d &point, const vector_vec2d &data); 74 getClosestPoint (const Eigen::Vector3d &point, const vector_vec3d &data); 83 …getClosestPoint (const Eigen::Vector2d &point, const Eigen::Vector2d &dir, const vector_vec2d &dat…
|
/dports/graphics/Coin/coin-Coin-4.0.0/src/base/ |
H A D | SbDPLine.cpp | 183 ptOnLine2 = line2.getClosestPoint(ptOnThis); in getClosestPoints() 291 ptOnThis = this->getClosestPoint(ptOnLine2); in getClosestPoints() 303 SbDPLine::getClosestPoint(const SbVec3d& point) const in getClosestPoint() function in SbDPLine
|
H A D | SbLine.cpp | 207 ptOnLine2 = line2.getClosestPoint(ptOnThis); in getClosestPoints() 316 ptOnThis = this->getClosestPoint(ptOnLine2); in getClosestPoints() 353 SbLine::getClosestPoint(const SbVec3f & point) const in getClosestPoint() function in SbLine
|
/dports/games/jvgs/jvgs-0.5.1-src/src/math/ |
H A D | Line.cpp | 33 Vector2D Line::getClosestPoint(const Vector2D& p) const in getClosestPoint() function in jvgs::math::Line 42 return p.getDistance(getClosestPoint(p)); in getDistance()
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/client/sound/facade/ |
H A D | AudibleAreaList.java | 51 public void getClosestPoint(float[] result, float[] hearerPos) in getClosestPoint() method in AudibleAreaList 73 closestArea.getClosestPoint(result, hearerPos); in getClosestPoint()
|
H A D | AudibleArea.java | 22 public void getClosestPoint (float[] result, float[] hearerPos); in getClosestPoint() method
|
H A D | InfiniteAudibleArea.java | 26 …public void getClosestPoint (float[] result, float[] hearerPos) { Algebra.mov_Vecf(result, hea… in getClosestPoint() method in InfiniteAudibleArea
|
/dports/games/supertuxkart/SuperTuxKart-1.2-src/src/tracks/ |
H A D | drive_node_3d.cpp | 45 core::vector3df closest = m_line.getClosestPoint(xyz.toIrrVector()); in getDistances() 65 core::vector3df closest = m_line.getClosestPoint(xyz.toIrrVector()); in getDistance2FromPoint()
|
H A D | drive_node_2d.cpp | 49 core::vector2df closest = m_line.getClosestPoint(xyz2d); in getDistances() 69 core::vector2df closest = m_line.getClosestPoint(xyz2d); in getDistance2FromPoint()
|
/dports/graphics/aseprite/aseprite-1.2.9/src/app/commands/filters/ |
H A D | color_curve_editor.cpp | 77 gfx::Point* point = getClosestPoint(screenToView(get_mouse_position())); in onProcessMessage() 92 m_editPoint = getClosestPoint(viewPos); in onProcessMessage() 129 m_hotPoint = getClosestPoint(screenToView(mousePos)); in onProcessMessage() 239 gfx::Point* ColorCurveEditor::getClosestPoint(const gfx::Point& viewPt) in getClosestPoint() function in app::ColorCurveEditor
|
/dports/games/dunelegacy/dunelegacy-0.96.4/src/units/ |
H A D | Carryall.cpp | 219 Coord point = this->getClosestPoint(location); in checkPos() 391 targetLocation = target.getObjPointer()->getClosestPoint(location); in engageTarget() 479 setDestination(target.getObjPointer()->getClosestPoint(location)); in pickupTarget() 539 Coord closestPoint = pConstructionYard->getClosestPoint(location); in findConstYard() 550 constYardPoint = pBestConstructionYard->getClosestPoint(location); in findConstYard()
|
/dports/math/drgeo/drgeo-1.1.0/geo/ |
H A D | drgeo_locus.cc | 369 drgeoPoint & locus::getClosestPoint (drgeoPoint & p) in getClosestPoint() function in locus 415 distance = (this->p[0] - c.getClosestPoint (this->p[0])).squareNorm (); in getIntersection() 419 d = (c.getClosestPoint (this->p[n]) - this->p[n]).squareNorm (); in getIntersection() 426 if ((p - c.getClosestPoint (p)).squareNorm () < 0.1) in getIntersection()
|
/dports/games/dunelegacy/dunelegacy-0.96.4/src/ |
H A D | ObjectBase.cpp | 367 Coord ObjectBase::getClosestPoint(const Coord& point) const { in getClosestPoint() function in ObjectBase 376 Coord closestPoint = pStructure->getClosestPoint(getLocation()); in findClosestTargetStructure() 398 Coord closestPoint = pUnit->getClosestPoint(getLocation()); in findClosestTargetUnit() 416 Coord closestPoint = pStructure->getClosestPoint(getLocation()); in findClosestTarget() 432 Coord closestPoint = pUnit->getClosestPoint(getLocation()); in findClosestTarget() 670 Coord coord = (target.getObjPointer())->getClosestPoint(location); in targetInWeaponRange()
|
/dports/games/lordsawar/lordsawar-0.3.2/src/ |
H A D | Threatlist.cpp | 64 distances.push_back(dist((*it)->getClosestPoint(pos), pos)); in sortByDistance() 136 Vector<int> closestPoint = threat->getClosestPoint(location); in findThreats()
|
/dports/games/supertuxkart/SuperTuxKart-1.2-src/lib/irrlicht/include/ |
H A D | triangle3d.h | 70 const core::vector3d<T> rab = line3d<T>(pointA, pointB).getClosestPoint(p); in closestPointOnTriangle() 71 const core::vector3d<T> rbc = line3d<T>(pointB, pointC).getClosestPoint(p); in closestPointOnTriangle() 72 const core::vector3d<T> rca = line3d<T>(pointC, pointA).getClosestPoint(p); in closestPointOnTriangle()
|
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/surface/src/on_nurbs/ |
H A D | nurbs_tools.cpp | 89 NurbsTools::getClosestPoint (const Eigen::Vector2d &p, const vector_vec2d &data) in getClosestPoint() function in NurbsTools 109 NurbsTools::getClosestPoint (const Eigen::Vector3d &p, const vector_vec3d &data) in getClosestPoint() function in NurbsTools 129 NurbsTools::getClosestPoint (const Eigen::Vector2d &p, const Eigen::Vector2d &dir, const vector_vec… in getClosestPoint() function in NurbsTools
|
/dports/x11-toolkits/irrlicht/irrlicht-1.8.5/include/ |
H A D | triangle3d.h | 70 const core::vector3d<T> rab = line3d<T>(pointA, pointB).getClosestPoint(p); in closestPointOnTriangle() 71 const core::vector3d<T> rbc = line3d<T>(pointB, pointC).getClosestPoint(p); in closestPointOnTriangle() 72 const core::vector3d<T> rca = line3d<T>(pointC, pointA).getClosestPoint(p); in closestPointOnTriangle()
|
/dports/cad/gmsh/gmsh-4.9.2-source/demos/api/ |
H A D | closest_point.py | 11 p, t = gmsh.model.getClosestPoint(1, c, [1.3, 1.3, 0])
|
/dports/graphics/Coin/coin-Coin-4.0.0/include/Inventor/ |
H A D | SbLine.h | 49 SbVec3f getClosestPoint(const SbVec3f & point) const;
|