Navigation
API > API/Plugins > API/Plugins/DynamicMesh
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).
| Name | FMeshGeodesicSurfaceTracer |
| Type | class |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Operations/MeshGeodesicSurfaceTracer.h |
| Include Path | #include "Operations/MeshGeodesicSurfaceTracer.h" |
Syntax
class FMeshGeodesicSurfaceTracer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Operations/MeshGeodesicSurfaceTracer.h | |||
FMeshGeodesicSurfaceTracer
(
const FDynamicMesh3& MeshIn |
Operations/MeshGeodesicSurfaceTracer.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| ETraceClassification | GeodesicSingleTriangleUtils::ETraceClassification | Operations/MeshGeodesicSurfaceTracer.h | |
| FMeshSurfaceDirection | GeodesicSingleTriangleUtils::FMeshSurfaceDirection | Operations/MeshGeodesicSurfaceTracer.h | |
| FMeshTangentDirection | GeodesicSingleTriangleUtils::FMeshTangentDirection | Operations/MeshGeodesicSurfaceTracer.h | |
| FTangentTri2 | GeodesicSingleTriangleUtils::FTangentTri2 | Operations/MeshGeodesicSurfaceTracer.h | |
| FTraceResult | GeodesicSingleTriangleUtils::FTraceResult | Operations/MeshGeodesicSurfaceTracer.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FTangentTri2 & GetLastTri() |
Access to the last tri traced in 2d form. | Operations/MeshGeodesicSurfaceTracer.h | |
TArray< FTraceResult > & GetTraceResults () |
Access to the trace results | Operations/MeshGeodesicSurfaceTracer.h | |
const TArray< FTraceResult > & GetTraceResults () |
Access to the trace results | Operations/MeshGeodesicSurfaceTracer.h | |
void Reset
(
const FDynamicMesh3& MeshIn |
Operations/MeshGeodesicSurfaceTracer.h | ||
double TraceMeshFromBaryPoint
(
const int32 TriID, |
Populate internal SurfaceTrace array of FTraceResults while following a "straight" path on the surface of a mesh. | Operations/MeshGeodesicSurfaceTracer.h | |
double TraceMeshFromBaryPoint
(
const int32 TriID, |
Populate internal SurfaceTrace array of FTraceResults while following a "straight" path on the surface of a mesh. | Operations/MeshGeodesicSurfaceTracer.h | |
double TraceMeshFromVertex
(
const FMeshTangentDirection& Direction, |
Populate internal SurfaceTrace array of FTraceResults while following a "straight" path on the surface of a mesh. | Operations/MeshGeodesicSurfaceTracer.h |