Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/FMeshGeodesicSurfaceTracer
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
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 |
TraceMeshFromBaryPoint(const int32, const FVector3d &, const FVector3d &, double)
Description
Populate internal SurfaceTrace array of FTraceResults while following a "straight" path on the surface of a mesh. The starting location and direction are given in terms of a local parameterization of the initial triangle.
NB: the BaryPoint must be a valid point within or on the boundary of the triangle.
| Name | TraceMeshFromBaryPoint |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Operations/MeshGeodesicSurfaceTracer.h |
| Include Path | #include "Operations/MeshGeodesicSurfaceTracer.h" |
| Source | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Private/Operations/MeshGeodesicSurfaceTracer.cpp |
double TraceMeshFromBaryPoint
(
const int32 TriID,
const FVector3d & BaryPoint,
const FVector3d & RayDir3,
double MaxDistance
)
total distance of the trace, this may be less than the MaxDist (e.g. in the event the trace encounters a mesh edge)
Parameters
| Name | Remarks |
|---|---|
| TriID | FDynamicMesh3 TriangleID that indicated that triangle where the trace originates |
| BaryPoint | Barycentric coordinates of ray origin relative to the specified triangle. See NB below. |
| RayDir3 | Initial Direction given in R3. This will be projected on the face of the specified Triangle (TriID) |
| MaxDist | Max distance the path is allowed to travel for this triangle trace. |
TraceMeshFromBaryPoint(const int32, const FVector3d &, const FMeshSurfaceDirection &, double)
Description
Populate internal SurfaceTrace array of FTraceResults while following a "straight" path on the surface of a mesh. The starting location and direction are given in terms of a local parameterization of the initial triangle.
NB: the BaryPoint must be a valid point within or on the boundary of the triangle. NB: it is assumed the edge Direction.EdgeID is part of the triangle TriID. ( otherwise the result will be unexpected)
| Name | TraceMeshFromBaryPoint |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Operations/MeshGeodesicSurfaceTracer.h |
| Include Path | #include "Operations/MeshGeodesicSurfaceTracer.h" |
| Source | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Private/Operations/MeshGeodesicSurfaceTracer.cpp |
double TraceMeshFromBaryPoint
(
const int32 TriID,
const FVector3d & BaryPoint,
const FMeshSurfaceDirection & Direction,
double MaxDistance
)
total distance of the trace, this may be less than the MaxDist (e.g. in the event the trace encounters a mesh edge)
Parameters
| Name | Remarks |
|---|---|
| TriID | FDynamicMesh3 TriangleID that indicated that triangle where the trace originates |
| BaryPoint | Barycentric coordinates of ray origin relative to the specified triangle. See NB below. |
| Direction | Surface direction of trace |
| MaxDist | Max distance the path is allowed to travel for this triangle trace. |