Navigation
API > API/Plugins > API/Plugins/DynamicMesh
| Name | FTangentTri2 |
| Type | class |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Operations/MeshGeodesicSurfaceTracer.h |
| Include Path | #include "Operations/MeshGeodesicSurfaceTracer.h" |
Syntax
class FTangentTri2
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTangentTri2 () |
Operations/MeshGeodesicSurfaceTracer.h | ||
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) | Operations/MeshGeodesicSurfaceTracer.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| EdgeOrientationSign | FIndex3i | Operations/MeshGeodesicSurfaceTracer.h | ||
| PermutedIndices | FIndex3i | Operations/MeshGeodesicSurfaceTracer.h | ||
| PermutedTriEIDs | FIndex3i | Operations/MeshGeodesicSurfaceTracer.h | ||
| PermutedTriVIDs | FIndex3i | Operations/MeshGeodesicSurfaceTracer.h | ||
| Tri2d | FTriangle2d | Operations/MeshGeodesicSurfaceTracer.h | ||
| Tri2dEdges | FVector2d | Operations/MeshGeodesicSurfaceTracer.h | ||
| Tri2dLengths | FVector3d | Operations/MeshGeodesicSurfaceTracer.h | ||
| Tri3ID | int32 | Operations/MeshGeodesicSurfaceTracer.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVector2d ChangeBasis
(
const FVector2d& Vec, |
Express the vector in terms of a basis that is aligned with the EdgeIndex edge of the triangle. | Operations/MeshGeodesicSurfaceTracer.h | |
double DistanceToEdge
(
int EdgeIndex, |
EdgeIndex = 0, 1, 2. | Operations/MeshGeodesicSurfaceTracer.h | |
FVector3d GetBarycentricCoords
(
const FVector2d& PoinInTri2 |
Barycentric coords for this point in the tri2d. | Operations/MeshGeodesicSurfaceTracer.h | |
FVector3d GetBarycentricCoordsInSrcTri
(
const FVector2d& PoinInTri2 |
Convert a point on this tri, to Barycentric coords in the un-rotated source triangle. | Operations/MeshGeodesicSurfaceTracer.h | |
double ProjectOnEdge
(
int EdgeIndex, |
Closest Point on the edge, given in terms of 0,1 parameter measured along the edge (EdgeIndex = 0, 1, 2) | Operations/MeshGeodesicSurfaceTracer.h | |
Vector3Type ReorderVertexDataForSrcTri3d
(
const Vector3Type& DataOrderedForTri2d |
Convert vertex data ordered for this FTangentTri2 into vertex data ordered for the source 3d triangle. | Operations/MeshGeodesicSurfaceTracer.h | |
void Reset() |
Reset just invalidates Tri3ID | Operations/MeshGeodesicSurfaceTracer.h |