Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/Operations
References
| Module | DynamicMesh |
| Header | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Operations/MeshGeodesicSurfaceTracer.h |
| Include | #include "Operations/MeshGeodesicSurfaceTracer.h" |
Syntax
class FTangentTri2
Variables
| Type | Name | Description | |
|---|---|---|---|
| FIndex3i | EdgeOrientationSign | ||
| FIndex3i | PermutedIndices | ||
| FIndex3i | PermutedTriEIDs | ||
| FIndex3i | PermutedTriVIDs | ||
| FTriangle2d | Tri2d | ||
| FVector2d[3] | Tri2dEdges | ||
| FVector3d | Tri2dLengths | ||
| int32 | Tri3ID |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FTangentTri2 () |
|||
FTangentTri2
(
const FDynamicMesh3& Mesh, |
The PrimaryEdge will be aligned with the x-axis in 2d ( and must be one of the edges of the triangle indicated by TriID) |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FVector2d | ChangeBasis
(
const FVector2d& Vec, |
Express the vector in terms of a basis that is aligned with the EdgeIndex edge of the triangle. | |
| double | DistanceToEdge
(
int EdgeIndex, |
EdgeIndex = 0, 1, 2. | |
| FVector3d | GetBarycentricCoords
(
const FVector2d& PoinInTri2 |
Barycentric coords for this point in the tri2d. | |
| FVector3d | GetBarycentricCoordsInSrcTri
(
const FVector2d& PoinInTri2 |
Convert a point on this tri, to Barycentric coords in the un-rotated source triangle. | |
| double | ProjectOnEdge
(
int EdgeIndex, |
Closest Point on the edge, given in terms of 0,1 parameter measured along the edge (EdgeIndex = 0, 1, 2) | |
| Vector3Type | ReorderVertexDataForSrcTri3d
(
const Vector3Type& DataOrderedForTri2d |
Convert vertex data ordered for this FTangentTri2 into vertex data ordered for the source 3d triangle. | |
| void | Reset () |
Reset just invalidates Tri3ID |