Navigation
API > API/Runtime > API/Runtime/CADKernel
| Name | TPolylineApproximator |
| Type | class |
| Header File | /Engine/Source/Runtime/Datasmith/CADKernel/Base/Public/Geo/Sampling/PolylineTools.h |
| Include Path | #include "Geo/Sampling/PolylineTools.h" |
Syntax
template<class PointType>
class TPolylineApproximator
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Geo/Sampling/PolylineTools.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
PointType ApproximatePoint
(
const double InCoordinate |
Evaluate the point of the polyline at the input InCoordinate If the input coordinate is outside the boundary of the polyline, the coordinate of the nearest boundary is used. | Geo/Sampling/PolylineTools.h | |
void ApproximatePoint
(
double InCoordinate, |
Evaluate the point of the polyline at the input Coordinate If the input coordinate is outside the boundary of the polyline, the coordinate of the nearest boundary is used. | Geo/Sampling/PolylineTools.h | |
void ApproximatePoints
(
const TArray< double >& InCoordinates, |
Evaluate the points of the polyline associated to the increasing array of input Coordinates If the input coordinate is outside the boundary of the polyline, the coordinate of the nearest boundary is used. | Geo/Sampling/PolylineTools.h | |
void ApproximatePoints
(
const TArray< double >& InCoordinates, |
Geo/Sampling/PolylineTools.h | ||
void ComputeBoundingBox
(
const int BoundaryIndex, |
Geo/Sampling/PolylineTools.h | ||
double ComputeLength() |
Geo/Sampling/PolylineTools.h | ||
double ComputeLengthOfSubPolyline
(
const int BoundaryIndex, |
Geo/Sampling/PolylineTools.h | ||
double ComputeLengthOfSubPolyline
(
const FLinearBoundary& InBoundary |
Geo/Sampling/PolylineTools.h | ||
void GetStartEndIndex
(
const FLinearBoundary& InBoundary, |
Geo/Sampling/PolylineTools.h | ||
void GetSubPolyline
(
const FLinearBoundary& InBoundary, |
Get the subset of point defining the sub polyline bounded by InBoundary OutCoordinates and OutPoints are emptied before the process | Geo/Sampling/PolylineTools.h | |
void GetSubPolyline
(
const FLinearBoundary& InBoundary, |
Append to the OutPoints array the sub polyline bounded by InBoundary according to the orientation | Geo/Sampling/PolylineTools.h | |
void ProjectCoincidentalPolyline
(
const FLinearBoundary& InBoundary, |
Project each point of a coincidental polyline on the Polyline. | Geo/Sampling/PolylineTools.h | |
void ProjectPointsToPolyline
(
const FLinearBoundary& InBoundary, |
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 | Geo/Sampling/PolylineTools.h | |
double ProjectPointToPolyline
(
const FLinearBoundary& InBoundary, |
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 | Geo/Sampling/PolylineTools.h | |
void SamplePolyline
(
const FLinearBoundary& InBoundary, |
Geo/Sampling/PolylineTools.h | ||
void UpdateSubPolylineBBox
(
const FLinearBoundary& InBoundary, |
Update the Curve bounding box with this subset of polyline | Geo/Sampling/PolylineTools.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
double ComputeCurvilinearCoordinatesOfPolyline
(
const FLinearBoundary& InBoundary, |
Geo/Sampling/PolylineTools.h | ||
PointType ComputePoint
(
const int32 Index, |
Geo/Sampling/PolylineTools.h | ||
double ProjectPointToPolyline
(
int32 BoundaryIndices, |
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 | Geo/Sampling/PolylineTools.h |