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