Navigation
API > API/Runtime > API/Runtime/CADKernel
| Name | FTopologicalLoop |
| Type | class |
| Header File | /Engine/Source/Runtime/Datasmith/CADKernel/Base/Public/Topo/TopologicalLoop.h |
| Include Path | #include "Topo/TopologicalLoop.h" |
Syntax
class FTopologicalLoop : public UE::CADKernel::FTopologicalEntity
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FEntity → FTopologicalEntity → FTopologicalLoop
- FHaveStates → FEntity → FTopologicalEntity → FTopologicalLoop
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTopologicalLoop
(
const TArray< TSharedPtr< FTopologicalEdge > >& Edges, |
Topo/TopologicalLoop.h | ||
| Topo/TopologicalLoop.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FTopologicalLoop() |
Topo/TopologicalLoop.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Boundary | FSurfacicBoundary | Topo/TopologicalLoop.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CheckEdgesOrientation() |
Topo/TopologicalLoop.h | ||
void CheckLoopWithTwoEdgesOrientation() |
Topo/TopologicalLoop.h | ||
void ComputeBoundaryProperties
(
const TArray< int32 >& StartSideIndex, |
Topo/TopologicalLoop.h | ||
void DeleteLoopEdges() |
Topo/TopologicalLoop.h | ||
const int32 EdgeCount() |
Topo/TopologicalLoop.h | ||
void EnsureLogicalClosing
(
const double GeometricTolerance |
Topo/TopologicalLoop.h | ||
void FindBreaks
(
TArray< TSharedPtr< FTopologicalVertex > >& Ruptures, |
Topo/TopologicalLoop.h | ||
void FindSurfaceCorners
(
TArray< TSharedPtr< FTopologicalVertex > >& OutCorners, |
Topo/TopologicalLoop.h | ||
void Get2DSampling
(
TArray< FVector2d >& LoopSampling |
Topo/TopologicalLoop.h | ||
bool Get2DSamplingWithoutDegeneratedEdges
(
TArray< FVector2d >& LoopSampling |
The idea is to remove degenerated edges of the loop i.e. where the surface is degenerated | Topo/TopologicalLoop.h | |
void GetActiveEdges
(
TArray< TSharedPtr< FTopologicalEdge > >& OutEdges |
Add active Edge that has not marker 1 in the edge array. Marker 1 has to be reset at the end. | Topo/TopologicalLoop.h | |
EOrientation GetDirection
(
TSharedPtr< FTopologicalEdge >& Edge, |
Topo/TopologicalLoop.h | ||
EOrientation GetDirection
(
int32 Index |
Topo/TopologicalLoop.h | ||
const TSharedPtr< FTopologicalEdge > & GetEdge
(
int32 Index |
Topo/TopologicalLoop.h | ||
int32 GetEdgeIndex
(
const FTopologicalEdge& Edge |
Topo/TopologicalLoop.h | ||
TArray< FOrientedEdge > & GetEdges () |
Topo/TopologicalLoop.h | ||
const TArray< FOrientedEdge > & GetEdges () |
Topo/TopologicalLoop.h | ||
FTopologicalFace * GetFace() |
Topo/TopologicalLoop.h | ||
const FOrientedEdge * GetOrientedEdge
(
const FTopologicalEdge* InEdge |
Topo/TopologicalLoop.h | ||
bool IsExternal() |
Topo/TopologicalLoop.h | ||
bool IsInside
(
const FTopologicalLoop& Other |
Topo/TopologicalLoop.h | ||
double Length() |
Topo/TopologicalLoop.h | ||
bool Orient () |
To check loop orientation, we check the orientation of the extremity points i.e. "o" points below o | Topo/TopologicalLoop.h | |
void RemoveDegeneratedEdges() |
Topo/TopologicalLoop.h | ||
void RemoveEdge
(
TSharedPtr< FTopologicalEdge >& Edge |
Topo/TopologicalLoop.h | ||
void ReplaceEdge
(
TSharedPtr< FTopologicalEdge >& OldEdge, |
Topo/TopologicalLoop.h | ||
void ReplaceEdge
(
TSharedPtr< FTopologicalEdge >& Edge, |
Topo/TopologicalLoop.h | ||
void ReplaceEdges
(
TArray< FOrientedEdge >& Candidates, |
Topo/TopologicalLoop.h | ||
void SetExternal() |
Topo/TopologicalLoop.h | ||
void SetInternal() |
Topo/TopologicalLoop.h | ||
void SplitEdge
(
FTopologicalEdge& Edge, |
The Edge is split in two edges : Edge + NewEdge | Topo/TopologicalLoop.h | |
void SwapOrientation() |
Topo/TopologicalLoop.h |
Overridden from FEntity
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Empty() |
Topo/TopologicalLoop.h | ||
virtual EEntity GetEntityType() |
Topo/TopologicalLoop.h | ||
virtual void ResetMarkersRecursively() |
Topo/TopologicalLoop.h | ||
virtual void Serialize
(
FCADKernelArchive& Ar |
Serialization of a FEntity. | Topo/TopologicalLoop.h | |
virtual void SpawnIdent
(
FDatabase& Database |
Topo/TopologicalLoop.h |
Protected
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TSharedPtr< FTopologicalLoop > Make
(
const TArray< TSharedPtr< FTopologicalEdge > >& EdgeList, |
Topo/TopologicalLoop.h |