Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/TMeshQueries
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static double ApproximateContactArea
(
const TriangleMeshType& MeshA, |
Version of ApproximateContactArea assuming MeshA and SpatialB are in a common coordinate space. | MeshQueries.h | |
static double ApproximateContactArea
(
const TriangleMeshType& MeshA, |
Approximately compute the surface area of MeshA that is within the threshold distance of a target mesh | MeshQueries.h |
ApproximateContactArea(const TriangleMeshType &, const MeshSpatialType &, double, double)
Description
Version of ApproximateContactArea assuming MeshA and SpatialB are in a common coordinate space.
| Name | ApproximateContactArea |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/MeshQueries.h |
| Include Path | #include "MeshQueries.h" |
template<typename MeshSpatialType, typename MeshRealType>
static double ApproximateContactArea
(
const TriangleMeshType & MeshA,
const MeshSpatialType & SpatialB,
double ThresholdDistance,
double SamplesPerArea
)
ApproximateContactArea(const TriangleMeshType &, const TTransform< MeshRealType > &, const MeshSpatialType &, const TTransform< MeshRealType > &, double, double, int32)
Description
Approximately compute the surface area of MeshA that is within the threshold distance of a target mesh
| Name | ApproximateContactArea |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/MeshQueries.h |
| Include Path | #include "MeshQueries.h" |
template<typename MeshSpatialType, typename MeshRealType>
static double ApproximateContactArea
(
const TriangleMeshType & MeshA,
const TTransform < MeshRealType > & TransformA,
const MeshSpatialType & SpatialB,
const TTransform < MeshRealType > & TransformB,
double ThresholdDistance,
double SamplesPerArea,
int32 MaxSamplesPerTri
)
Parameters
| Name | Remarks |
|---|---|
| MeshA | The mesh whose contact area should be computed. |
| SpatialB | The target surface's acceleration structure. |
| ThresholdDistance | The distance below which a point on MeshA is considered to be in contact with the target mesh |
| SamplesPerArea | Requested minimum samples per unit of area. Note all triangles will at least be sampled once regardless. |
| MaxSamplesPerTri | Optional maximum samples per triangle, if greater than 0. |