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 FMeshGeodesicSurfaceTracer
Remarks
Class that, given a starting location and direction, traces a geodesic path along a mesh. As the path enters a triangle, it is unfolded a two-dimensional triangle and the path is transformed into the local frame of the triangle.
At each point where the path crosses into a new triangle, this class records the point and direction in terms of barycentric coordinates, triangle references and local path direction relative to a local frame (in the form of one of the edges of the triangle).
Variables
| Type | Name | Description | |
|---|---|---|---|
| const FDynamicMesh3 * | Mesh | ||
| FTangentTri2 | ScratchTri2 | ||
| TArray< FTraceResult > | SurfaceTrace |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMeshGeodesicSurfaceTracer
(
const FDynamicMesh3& MeshIn |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FTangentTri2 & | GetLastTri () |
Access to the last tri traced in 2d form. | |
| TArray< FTraceResult > & | Access to the trace results | ||
| const TArray< FTraceResult > & | Access to the trace results | ||
| void | Reset
(
const FDynamicMesh3& MeshIn |
||
| double | TraceMeshFromBaryPoint
(
const int32 TriID, |
Populate internal SurfaceTrace array of FTraceResults while following a "straight" path on the surface of a mesh. | |
| double | TraceMeshFromBaryPoint
(
const int32 TriID, |
Populate internal SurfaceTrace array of FTraceResults while following a "straight" path on the surface of a mesh. | |
| double | TraceMeshFromVertex
(
const FMeshTangentDirection& Direction, |
Populate internal SurfaceTrace array of FTraceResults while following a "straight" path on the surface of a mesh. |