Navigation
API > API/Runtime > API/Runtime/CADKernel > API/Runtime/CADKernel/Geo > API/Runtime/CADKernel/Geo/Sampling
References
| Module | CADKernel |
| Header | /Engine/Source/Runtime/Datasmith/CADKernel/Base/Public/Geo/Sampling/SurfacicPolyline.h |
| Include | #include "Geo/Sampling/SurfacicPolyline.h" |
Syntax
class FSurfacicPolyline
Variables
| Type | Name | Description | |
|---|---|---|---|
| FSurfacicBoundary | BoundingBox | ||
| bool | bWithNormals | ||
| bool | bWithTangent | ||
| TArray< double > | Coordinates | ||
| TArray< FVector3f > | Normals | ||
| TArray< FPoint2D > | Points2D | ||
| TArray< FPoint > | Points3D | ||
| TArray< FPoint > | Tangents |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FSurfacicPolyline
(
TSharedRef< FSurface > InCarrierSurface, |
|||
FSurfacicPolyline
(
bool bInWithNormals, |
|||
FSurfacicPolyline
(
TSharedRef< FSurface > InCarrierSurface, |
|||
FSurfacicPolyline
(
TSharedRef< FSurface > InCarrierSurface, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< FEntityGeom > | ApplyMatrix
(
const FMatrixH& |
||
| FPoint2D | Approximate2DPoint
(
double InCoordinate |
||
| void | Approximate2DPoints
(
const TArray< double >& InCoordinates, |
||
| FPoint | Approximate3DPoint
(
double InCoordinate |
||
| void | Approximate3DPoints
(
const TArray< double >& InCoordinates, |
||
| void | ApproximatePolyline
(
FSurfacicPolyline& OutPolyline |
||
| void | CheckIfDegenerated
(
const double Tolerance3D, |
||
| void | ComputeIntersectionsWithIsos
(
const FLinearBoundary& InBoundary, |
The main idea of this algorithm is to process starting for the beginning of the curve to the end of the curve. | |
| double | ComputeLinearToleranceAt
(
const double Tolerance3D, |
||
| FSurfacicTolerance | ComputeTolerance
(
const double Tolerance3D, |
||
| void | EmplaceAt
(
int32 Index, |
||
| void | Empties the polyline. | ||
| double | Get2DLength
(
const FLinearBoundary& InBoundary |
||
| const TArray< FPoint2D > & | Get2DPoints () |
||
| double | GetCoordinateOfProjectedPoint
(
const FLinearBoundary& Boundary, |
||
| double | GetCoordinateOfProjectedPoint
(
const FLinearBoundary& Boundary, |
||
| const TArray< double > & | |||
| void | GetExtremities
(
const FLinearBoundary& InBoundary, |
||
| FInfoEntity & | GetInfo
(
FInfoEntity& |
||
| double | GetLength
(
const FLinearBoundary& InBoundary |
||
| const TArray< FVector3f > & | GetNormals () |
||
| const FPoint & | GetPointAt
(
int32 Index |
||
| const TArray< FPoint > & | GetPoints () |
||
| void | GetSubPolyline
(
const FLinearBoundary& InBoundary, |
Get the sub polyline bounded by the input InBoundary in the orientation of the input InOrientation and append it to the output OutPoints | |
| void | GetSubPolyline
(
const FLinearBoundary& InBoundary, |
Get the sub polyline bounded by the input InBoundary in the orientation of the input InOrientation and append it to the output OutPoints | |
| void | GetSubPolyline
(
const FLinearBoundary& InBoundary, |
Get the sub polyline bounded by the input InBoundary in the orientation of the input InOrientation and append it to the output OutPoints | |
| void | GetSubPolyline
(
const FLinearBoundary& InBoundary, |
Get the sub 2d polyline bounded by the input InBoundary in the orientation of the input InOrientation and append it to the output OutPoints | |
| FPoint2D | GetTangent2DAt
(
double InCoordinate |
||
| FPoint | GetTangentAt
(
double InCoordinate |
||
| const TArray< FPoint > & | GetTangents () |
||
| bool | |||
| void | Pop () |
||
| void | ProjectCoincidentalPolyline
(
const FLinearBoundary& InBoundary, |
Project each point of a coincidental polyline on the Polyline. | |
| void | ProjectPoints
(
const FLinearBoundary& InBoundary, |
||
| void | ProjectPoints
(
const FLinearBoundary& InBoundary, |
||
| void | RemoveComplementaryPoints
(
int32 Offset |
||
| void | Reserves memory such that the polyline can contain at least Number elements. | ||
| void | Reverse () |
||
| void | Sample
(
const FLinearBoundary& Boundary, |
||
| void | Serialize
(
FCADKernelArchive& Ar |
||
| int32 | Size () |
||
| void | SwapCoordinates
(
TArray< double >& NewCoordinates |