MeVisLab Toolbox Reference
|
This class constructs a bounding sphere hierarchy of all non-empty triangles (i.e. More...
#include <WEMNearestPointOnSurface.h>
Classes | |
struct | Result |
Result structure for getNearestTriangle: More... | |
Public Member Functions | |
WEMNearestPointOnSurface (WEM *wem) | |
WEM must solely consist of WEMTrianglePatches, otherwise isValid returns false. | |
~WEMNearestPointOnSurface () | |
bool | isValid () const |
Return if the given WEM only had triangle patches. | |
Result | getNearestTriangle (const Vector3 &p) const |
Get the nearest triangle point of the WEM relative to p. | |
This class constructs a bounding sphere hierarchy of all non-empty triangles (i.e.
, none of the edges of the triangle may have length 0) in the given WEM.
It then allows to search for the nearest point on the WEM surface relative to a given point.
Definition at line 29 of file WEMNearestPointOnSurface.h.
ml::WEMNearestPointOnSurface::WEMNearestPointOnSurface | ( | WEM * | wem | ) |
WEM must solely consist of WEMTrianglePatches, otherwise isValid returns false.
ml::WEMNearestPointOnSurface::~WEMNearestPointOnSurface | ( | ) |
Get the nearest triangle point of the WEM relative to p.
|
inline |
Return if the given WEM only had triangle patches.
Definition at line 37 of file WEMNearestPointOnSurface.h.