TFastWindingTree

Fast Mesh Winding Number extension to a [TMeshAABBTree3](API\Plugins\GeometricObjects\Spatial\TMeshAABBTree3).

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Spatial/FastWinding.h

Include

#include "Spatial/FastWinding.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

Name Description

Public variable

int

 

FWNApproxOrder

FWN approximation order. Must be 1 or 2. 2 is more accurate, obviously.

Public variable

double

 

FWNBeta

FWN beta parameter - is 2.0 in paper

Constructors

Name Description

Public function

TFastWindingTree

(
    TMeshAABBTree3< TriangleMeshType > ...,
    bool bAutoBuild
)

Functions

Name Description

Public function

void

 

Build

(
    bool bAlwaysBuildRegardlessOfTimest...
)

Public function

double

 

FastWindingNumber

(
    const FVector3d& P
)

Fast approximation of winding number using far-field approximations.

Public function Const

double

 

FastWindingNumber

(
    const FVector3d& P
)

Const version does not auto-build on query

Public function Const

TMeshAABBTre...

 

GetTree()

Public function Const

bool

 

IsBuilt()

Public function Const

bool

 

IsInside

(
    const FVector3d& P,
    double WindingIsoThreshold
)

Public function

void

 

SetTree

(
    TMeshAABBTree3< TriangleMeshType > ...,
    bool bAutoBuild
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss