Home
last modified time | relevance | path

Searched refs:getClosestPoint (Results 1 – 25 of 152) sorted by relevance

1234567

/dports/multimedia/kdenlive/kdenlive-21.12.3/tests/
H A Dsnaptest.cpp13 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 DSbCylinderPlaneProjector.cpp141 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 DSbCylinderSectionProjector.cpp129 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 DSbCylinderSheetProjector.cpp175 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 DSbCylinderProjector.cpp202 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 Dsnapmodel.cpp35 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 Dnurbs_tools.h68 getClosestPoint (const Eigen::Vector2d &point, const vector_vec2d &data);
74 getClosestPoint (const Eigen::Vector3d &point, const vector_vec3d &data);
83getClosestPoint (const Eigen::Vector2d &point, const Eigen::Vector2d &dir, const vector_vec2d &dat…
/dports/graphics/Coin/coin-Coin-4.0.0/src/base/
H A DSbDPLine.cpp183 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 DSbLine.cpp207 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 DLine.cpp33 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 DAudibleAreaList.java51 public void getClosestPoint(float[] result, float[] hearerPos) in getClosestPoint() method in AudibleAreaList
73 closestArea.getClosestPoint(result, hearerPos); in getClosestPoint()
H A DAudibleArea.java22 public void getClosestPoint (float[] result, float[] hearerPos); in getClosestPoint() method
H A DInfiniteAudibleArea.java26 …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 Ddrive_node_3d.cpp45 core::vector3df closest = m_line.getClosestPoint(xyz.toIrrVector()); in getDistances()
65 core::vector3df closest = m_line.getClosestPoint(xyz.toIrrVector()); in getDistance2FromPoint()
H A Ddrive_node_2d.cpp49 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 Dcolor_curve_editor.cpp77 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 DCarryall.cpp219 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 Ddrgeo_locus.cc369 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 DObjectBase.cpp367 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 DThreatlist.cpp64 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 Dtriangle3d.h70 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 Dnurbs_tools.cpp89 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 Dtriangle3d.h70 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 Dclosest_point.py11 p, t = gmsh.model.getClosestPoint(1, c, [1.3, 1.3, 0])
/dports/graphics/Coin/coin-Coin-4.0.0/include/Inventor/
H A DSbLine.h49 SbVec3f getClosestPoint(const SbVec3f & point) const;

1234567