Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/CompGeom
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/CompGeom/ConvexDecomposition3.h |
| Include | #include "CompGeom/ConvexDecomposition3.h" |
Syntax
template<class TriangleMeshType>
class TFastWindingTree
Remarks
Fast Mesh Winding Number extension to a TMeshAABBTree3. This class is an "add-on" to the AABBTree, that can compute the Fast Mesh Winding Number. This calculation requires a precomputation pass where information is cached at each tree node.
Variables
| Type | Name | Description | |
|---|---|---|---|
| int | FWNApproxOrder | FWN approximation order. Must be 1 or 2. 2 is more accurate, obviously. | |
| double | FWNBeta | FWN beta parameter - is 2.0 in paper |
Constructors
| Type | Name | Description | |
|---|---|---|---|
TFastWindingTree
(
TMeshAABBTree3< TriangleMeshType >* TreeToRef, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Build
(
bool bForceRebuild |
||
| double | FastWindingNumber
(
const FVector3d& P |
Fast approximation of winding number using far-field approximations. | |
| double | FastWindingNumber
(
const FVector3d& P |
Const version does not auto-build on query | |
| TMeshAABBTree3< TriangleMeshType > * | GetTree () |
||
| bool | IsBuilt () |
||
| bool | IsInside
(
const FVector3d& P, |
||
| void | SetTree
(
TMeshAABBTree3< TriangleMeshType >* TreeToRef, |