#include "MRId.h"
#include "MREdgePoint.h"
#include <cfloat>
#include <optional>
Go to the source code of this file.
|
MRMESH_API bool | MR::isPointInsidePolyline (const Polyline2 &polyline, const Vector2f &point) |
| detect if given point is inside polyline, by counting ray intersections
|
|
MRMESH_API std::optional< PolylineIntersectionResult2 > | MR::rayPolylineIntersect (const Polyline2 &polyline, const Line2f &line, float rayStart=0, float rayEnd=FLT_MAX, const IntersectionPrecomputes2< float > *prec=nullptr, bool closestIntersect=true) |
|
MRMESH_API std::optional< PolylineIntersectionResult2 > | MR::rayPolylineIntersect (const Polyline2 &polyline, const Line2d &line, double rayStart=0, double rayEnd=DBL_MAX, const IntersectionPrecomputes2< double > *prec=nullptr, bool closestIntersect=true) |
|