27 float distanceAlongLine = 0;
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
MRMESH_API bool isPointInsidePolyline(const Polyline2 &polyline, const Vector2f &point)
detect if given point is inside polyline, by counting ray intersections
Definition MRCameraOrientationPlugin.h:8
MRMESH_API std::optional< PolylineIntersectionResult2 > rayPolylineIntersect(const Polyline2 &polyline, const Line2f &line, float rayStart=0, float rayEnd=FLT_MAX, const IntersectionPrecomputes2< float > *prec=nullptr, bool closestIntersect=true)
encodes a point on an edge of mesh or of polyline
Definition MREdgePoint.h:11
Definition MRMesh/MRMeshFwd.h:508
Definition MRPolyline2Intersect.h:23
EdgePoint edgePoint
intersection point in polyline
Definition MRPolyline2Intersect.h:25