Navigation
API > API/Runtime > API/Runtime/CADKernel > API/Runtime/CADKernel/Geo > API/Runtime/CADKernel/Geo/Sampling > API/Runtime/CADKernel/Geo/Sampling/TPolylineApproximator > API/Runtime/CADKernel/Geo/Sampling/TPolylineApproximator/ProjectPointToPolyline
References
| Module | CADKernel |
| Header | /Engine/Source/Runtime/Datasmith/CADKernel/Base/Public/Geo/Sampling/PolylineTools.h |
| Include | #include "Geo/Sampling/PolylineTools.h" |
double ProjectPointToPolyline
(
const FLinearBoundary & InBoundary,
const PointType & PointOnEdge,
PointType & OutProjectedPoint
) const
Remarks
Project a Set of points on a restricted polyline (StartIndex & EndIndex define the polyline boundary) the points are projected on all segments of the polyline, the closest are selected