Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/Operations
References
| Module | DynamicMesh |
| Header | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Operations/IntrinsicTriangulationMesh.h |
| Include | #include "Operations/IntrinsicTriangulationMesh.h" |
Syntax
template<typename IntrinsicMeshType>
struct TEdgeCorrespondence
Remarks
TEdgeCorrespondence allows intrinsic edges to be traced across the underlying surface mesh. When computing a large number intrinsic edge traces, this is to be preferred over the TraceEdge() intrinsic mesh methods because it avoids redundant computations. But when tracing a small number of intrinsic edges the large up-front cost of computing information the entire mesh will make use of this class sub-optimal.
During construction a list of surface mesh edges crossed by each intrinsic edge is stored. The Trace operation for an intrinsic edge uses this information to unfold the crossed surface triangles into a 2d triangle strip upon which the actual trace takes place.
This is only for use with intrinsic mesh implementations that support 'normal coordinates' when doing flips/splits and pokes. such as the FIntrinsicMesh and FIntrinsicEdgeFlipMesh.
Variables
| Type | Name | Description | |
|---|---|---|---|
| const IntrinsicMeshType * | IntrinsicMesh | ||
| TArray< TArray< int32 > > | SurfaceEdgesCrossed | ||
| const FDynamicMesh3 * | SurfaceMesh |
Constructors
| Type | Name | Description | |
|---|---|---|---|
TEdgeCorrespondence
(
const IntrinsicMeshType& IntrinsicMesh |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Setup
(
const IntrinsicMeshType& IntrinsicMesh |
TEdgeCorrespondence | |
| TArray< UE::Geometry::IntrinsicCorrespondenceUtils::FSurfacePoint > |
Typedefs
| Name | Description |
|---|---|
| FEdgeAndCrossingIdx | |
| FSurfacePoint |