Home
last modified time | relevance | path

Searched refs:nearestPt (Results 1 – 19 of 19) sorted by relevance

/dports/math/jts/jts-jts-1.18.1/modules/app/src/main/java/org/locationtech/jtstest/testbuilder/geom/
H A DGeometryPointLocater.java84 private Coordinate nearestPt = null; field in GeometryPointLocater.NearestSegmentLocationFilter
99 if (nearestPt != null) in filter()
111 if (nearestPt != null) { in filter()
129 nearestPt = p0; in checkSegment()
135 nearestPt = p1; in checkSegment()
148 nearestPt = seg.closestPoint(testPt); in checkSegment()
160 nearestPt = p0; in checkVertex()
172 return nearestPt; in getCoordinate()
178 public boolean isDone() { return nearestPt != null; } in isDone()
H A DNearestPointFinder.java42 private Coordinate nearestPt = null; field in NearestPointFinder.NearestPointFilter
57 if (nearestPt == null || basePt.distance(p) < dist) { in filter()
58 nearestPt = p; in filter()
59 dist = basePt.distance(nearestPt); in filter()
66 return nearestPt; in getNearestPoint()
H A DVertexLocater.java58 private Coordinate nearestPt = null; field in VertexLocater.NearestVertexFilter
73 nearestPt = p; in filter()
80 return nearestPt; in getVertex()
84 public boolean isDone() { return nearestPt != null; } in isDone()
/dports/math/jts/jts-jts-1.18.1/modules/core/src/main/java/org/locationtech/jts/algorithm/
H A DRobustLineIntersector.java348 Coordinate nearestPt = p1; in nearestEndpoint() local
354 nearestPt = p2; in nearestEndpoint()
359 nearestPt = q1; in nearestEndpoint()
364 nearestPt = q2; in nearestEndpoint()
366 return nearestPt; in nearestEndpoint()
/dports/graphics/urho3d/Urho3D-1.7.1/Source/ThirdParty/Detour/source/
H A DDetourNavMesh.cpp485 float nearestPt[3]; in connectExtOffMeshLinks() local
486 dtPolyRef ref = findNearestPolyInTile(tile, p, ext, nearestPt); in connectExtOffMeshLinks()
490 if (dtSqr(nearestPt[0]-p[0])+dtSqr(nearestPt[2]-p[2]) > dtSqr(targetCon->rad)) in connectExtOffMeshLinks()
494 dtVcopy(v, nearestPt); in connectExtOffMeshLinks()
585 float nearestPt[3]; in baseOffMeshLinks() local
586 dtPolyRef ref = findNearestPolyInTile(tile, p, ext, nearestPt); in baseOffMeshLinks()
589 if (dtSqr(nearestPt[0]-p[0])+dtSqr(nearestPt[2]-p[2]) > dtSqr(con->rad)) in baseOffMeshLinks()
593 dtVcopy(v, nearestPt); in baseOffMeshLinks()
708 float* nearestPt) const in findNearestPolyInTile()
745 dtVcopy(nearestPt, closestPtPoly); in findNearestPolyInTile()
H A DDetourNavMeshQuery.cpp713 dtPolyRef* nearestRef, float* nearestPt) const in findNearestPoly()
757 if (nearestPt) in findNearestPoly()
758 dtVcopy(nearestPt, closestPtPoly); in findNearestPoly()
/dports/graphics/recastnavigation/recastnavigation-e75adf86f91eb3082220085e42dda62679f9a3ea/Detour/Source/
H A DDetourNavMesh.cpp477 float nearestPt[3]; in connectExtOffMeshLinks() local
478 dtPolyRef ref = findNearestPolyInTile(tile, p, halfExtents, nearestPt); in connectExtOffMeshLinks()
482 if (dtSqr(nearestPt[0]-p[0])+dtSqr(nearestPt[2]-p[2]) > dtSqr(targetCon->rad)) in connectExtOffMeshLinks()
486 dtVcopy(v, nearestPt); in connectExtOffMeshLinks()
577 float nearestPt[3]; in baseOffMeshLinks() local
578 dtPolyRef ref = findNearestPolyInTile(tile, p, halfExtents, nearestPt); in baseOffMeshLinks()
581 if (dtSqr(nearestPt[0]-p[0])+dtSqr(nearestPt[2]-p[2]) > dtSqr(con->rad)) in baseOffMeshLinks()
585 dtVcopy(v, nearestPt); in baseOffMeshLinks()
762 float* nearestPt) const in findNearestPolyInTile()
799 dtVcopy(nearestPt, closestPtPoly); in findNearestPolyInTile()
H A DDetourNavMeshQuery.cpp691 dtPolyRef* nearestRef, float* nearestPt) const in findNearestPoly()
693 return findNearestPoly(center, halfExtents, filter, nearestRef, nearestPt, NULL); in findNearestPoly()
700 dtPolyRef* nearestRef, float* nearestPt, bool* isOverPoly) const in findNearestPoly() argument
718 if (nearestPt && *nearestRef) in findNearestPoly()
720 dtVcopy(nearestPt, query.nearestPoint()); in findNearestPoly()
/dports/graphics/geos/geos-3.9.1/src/algorithm/
H A DLineIntersector.cpp744 const Coordinate* nearestPt = &p1; in nearestEndpoint() local
750 nearestPt = &p2; in nearestEndpoint()
755 nearestPt = &q1; in nearestEndpoint()
759 nearestPt = &q2; in nearestEndpoint()
761 return *nearestPt; in nearestEndpoint()
/dports/graphics/recastnavigation/recastnavigation-e75adf86f91eb3082220085e42dda62679f9a3ea/Detour/Include/
H A DDetourNavMeshQuery.h326 dtPolyRef* nearestRef, float* nearestPt) const;
340 dtPolyRef* nearestRef, float* nearestPt, bool* isOverPoly) const;
H A DDetourNavMesh.h653 const float* halfExtents, float* nearestPt) const;
/dports/graphics/opencv/opencv-4.5.3/modules/imgproc/src/
H A Dsubdivision2d.cpp653 int Subdiv2D::findNearest(Point2f pt, Point2f* nearestPt) in findNearest() argument
713 if( nearestPt && vertex > 0 ) in findNearest()
714 *nearestPt = vtx[vertex].pt; in findNearest()
/dports/cad/openroad/OpenROAD-2.0/src/dpl/src/
H A DPlace.cpp123 Point nearest = nearestPt(&cell, group_rect); in prePlace()
146 Opendp::nearestPt(const Cell *cell, const Rect *rect) const in nearestPt() function in dpl::Opendp
217 Point nearest = nearestPt(cell, nearest_rect); in prePlaceGroups()
/dports/graphics/urho3d/Urho3D-1.7.1/Source/ThirdParty/Detour/include/
H A DDetourNavMeshQuery.h267 dtPolyRef* nearestRef, float* nearestPt) const;
H A DDetourNavMesh.h614 const float* extents, float* nearestPt) const;
/dports/cad/openroad/OpenROAD-2.0/src/dpl/include/dpl/
H A DOpendp.h231 Point nearestPt(const Cell *cell, const Rect *rect) const;
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/pcbnew/router/
H A Dpns_line.cpp590 VECTOR2I nearestPt = nearestSegment.NearestPoint( collisionPoint ); in ClipToNearestObstacle() local
591 int p = l.Line().Split( nearestPt ); in ClipToNearestObstacle()
/dports/graphics/opencv/opencv-4.5.3/modules/imgproc/include/opencv2/
H A Dimgproc.hpp1097 CV_WRAP int findNearest(Point2f pt, CV_OUT Point2f* nearestPt = 0);
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/eeschema/sch_plugins/cadstar/
H A Dcadstar_sch_archive_loader.cpp783 wxPoint nearestPt = (wxPoint) busLineChain.NearestPoint( busLabelLoc ); in loadBusses() local
785 label->SetPosition( nearestPt ); in loadBusses()