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