Navigation
API > API/Runtime > API/Runtime/CADKernel > API/Runtime/CADKernel/Geo > API/Runtime/CADKernel/Geo/Sampling
Inheritance Hierarchy
- TPolyline
- FPolyline2D
References
| Module | CADKernel |
| Header | /Engine/Source/Runtime/Datasmith/CADKernel/Base/Public/Geo/Sampling/Polyline.h |
| Include | #include "Geo/Sampling/Polyline.h" |
Syntax
template<class PointType>
class TPolyline
Variables
| Type | Name | Description | |
|---|---|---|---|
| TPolylineApproximator< PointType > | Approximator | ||
| bool | bWithTangent | ||
| TArray< double > | Coordinates | ||
| TArray< PointType > | Points | ||
| TArray< PointType > | Tangent |
Constructors
| Type | Name | Description | |
|---|---|---|---|
TPolyline () |
|||
Functions
| Type | Name | Description | |
|---|---|---|---|
| PointType | ApproximatePoint
(
double InCoordinate |
||
| void | ApproximatePoints
(
const TArray< double >& InCoordinates, |
||
| void | |||
| void | Empties the polyline. | ||
| void | |||
| double | GetCoordinateOfProjectedPoint
(
const FLinearBoundary& Boundary, |
||
| TArray< double > & | |||
| const TArray< double > & | |||
| double | GetLength
(
const FLinearBoundary& InBoundary |
||
| const PointType & | GetPointAt
(
int32 Index |
||
| const TArray< PointType > & | GetPoints () |
||
| void | GetSubPolyline
(
const FLinearBoundary& InBoundary, |
||
| void | Pop () |
||
| void | ProjectPoints
(
const FLinearBoundary& InBoundary, |
||
| void | RemoveComplementaryPoints
(
int32 Offset |
||
| void | Reserves memory such that the polyline can contain at least Number elements. | ||
| void | Sample
(
const FLinearBoundary& Boundary, |
||
| void | Serialize
(
FCADKernelArchive& Ar |
||
| int32 | Size () |
||
| void | SwapCoordinates
(
TArray< double >& NewCoordinates |
||
| void | UpdateSubPolylineBBox
(
const FLinearBoundary& InBoundary, |
The FPolylineBBox is updated by adding all the points of the polyline included in the boundary |