MeshLib C# Docs
Loading...
Searching...
No Matches

Generated from class MR.MeshPointAndDistance. This is the const half of the class. More...

Inheritance diagram for MR.Const_MeshPointAndDistance:

Classes

struct  _Underlying

Public Member Functions

virtual void Dispose ()
unsafe Const_MeshPointAndDistance ()
 Constructs an empty (default-constructed) instance.
unsafe Const_MeshPointAndDistance (MR.Vector3f loc, MR.Const_MeshTriPoint mtp, float eucledeanDist, float w, bool bidirectionalOrOutside)
 Constructs MR.MeshPointAndDistance elementwise.
unsafe Const_MeshPointAndDistance (MR.Const_MeshPointAndDistance _other)
 Generated from constructor MR.MeshPointAndDistance.MeshPointAndDistance.
 Const_MeshPointAndDistance (MeshPointAndDistance _other)
 Generated from constructor MR.MeshPointAndDistance.MeshPointAndDistance.
unsafe float bidirDist ()
 bidirectional distance from input location to mtp considering point's weight Generated from method MR.MeshPointAndDistance.bidirDist.
unsafe float dist ()
 the distance from input location to mtp considering point's weight and location inside/outside; dist() is continuous function of location unlike innerDist(), which makes 2*weight jump if the location moves through the surface Generated from method MR.MeshPointAndDistance.dist.
unsafe bool valid ()
 check for validity, otherwise there is no point closer than maxBidirDist Generated from method MR.MeshPointAndDistance.valid.

Static Public Member Functions

static unsafe operator bool (MR.Const_MeshPointAndDistance _this)
 Generated from conversion operator MR::MeshPointAndDistance::operator bool.

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Protected Attributes

unsafe MR.Vector3f__ref_storage_loc
unsafe float * __ref_storage_eucledeanDist
unsafe float * __ref_storage_w
unsafe bool * __ref_storage_bidirectionalOrOutside

Properties

unsafe ref readonly MR.Vector3f loc [get]
 point location
unsafe MR.Const_MeshTriPoint mtp [get, protected set]
 the corresponding point on mesh in barycentric representation
unsafe float eucledeanDist [get]
 euclidean distance from input location to mtp
unsafe float w [get]
 point's weight
unsafe bool bidirectionalOrOutside [get]
 either 1) bidirectional distances are computed, or 2) input location is locally outside of the surface (by pseudonormal) used for optimization

Detailed Description

Generated from class MR.MeshPointAndDistance. This is the const half of the class.

Constructor & Destructor Documentation

◆ Const_MeshPointAndDistance() [1/4]

unsafe MR.Const_MeshPointAndDistance.Const_MeshPointAndDistance ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_MeshPointAndDistance() [2/4]

unsafe MR.Const_MeshPointAndDistance.Const_MeshPointAndDistance ( MR.Vector3f loc,
MR.Const_MeshTriPoint mtp,
float eucledeanDist,
float w,
bool bidirectionalOrOutside )
inline

Constructs MR.MeshPointAndDistance elementwise.

◆ Const_MeshPointAndDistance() [3/4]

unsafe MR.Const_MeshPointAndDistance.Const_MeshPointAndDistance ( MR.Const_MeshPointAndDistance _other)
inline

Generated from constructor MR.MeshPointAndDistance.MeshPointAndDistance.

◆ Const_MeshPointAndDistance() [4/4]

MR.Const_MeshPointAndDistance.Const_MeshPointAndDistance ( MeshPointAndDistance _other)
inline

Generated from constructor MR.MeshPointAndDistance.MeshPointAndDistance.

Member Function Documentation

◆ bidirDist()

unsafe float MR.Const_MeshPointAndDistance.bidirDist ( )
inline

bidirectional distance from input location to mtp considering point's weight Generated from method MR.MeshPointAndDistance.bidirDist.

◆ Dispose() [1/2]

virtual void MR.Const_MeshPointAndDistance.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.Const_MeshPointAndDistance.Dispose ( bool disposing)
inlineprotectedvirtual

◆ dist()

unsafe float MR.Const_MeshPointAndDistance.dist ( )
inline

the distance from input location to mtp considering point's weight and location inside/outside; dist() is continuous function of location unlike innerDist(), which makes 2*weight jump if the location moves through the surface Generated from method MR.MeshPointAndDistance.dist.

◆ operator bool()

unsafe MR.Const_MeshPointAndDistance.operator bool ( MR.Const_MeshPointAndDistance _this)
inlineexplicitstatic

Generated from conversion operator MR::MeshPointAndDistance::operator bool.

◆ valid()

unsafe bool MR.Const_MeshPointAndDistance.valid ( )
inline

check for validity, otherwise there is no point closer than maxBidirDist Generated from method MR.MeshPointAndDistance.valid.

Member Data Documentation

◆ __ref_storage_bidirectionalOrOutside

unsafe bool* MR.Const_MeshPointAndDistance.__ref_storage_bidirectionalOrOutside
protected

◆ __ref_storage_eucledeanDist

unsafe float* MR.Const_MeshPointAndDistance.__ref_storage_eucledeanDist
protected

◆ __ref_storage_loc

unsafe MR.Vector3f* MR.Const_MeshPointAndDistance.__ref_storage_loc
protected

◆ __ref_storage_w

unsafe float* MR.Const_MeshPointAndDistance.__ref_storage_w
protected

Property Documentation

◆ bidirectionalOrOutside

unsafe bool MR.Const_MeshPointAndDistance.bidirectionalOrOutside
get

either 1) bidirectional distances are computed, or 2) input location is locally outside of the surface (by pseudonormal) used for optimization

◆ eucledeanDist

unsafe float MR.Const_MeshPointAndDistance.eucledeanDist
get

euclidean distance from input location to mtp

◆ loc

unsafe ref readonly MR.Vector3f MR.Const_MeshPointAndDistance.loc
get

point location

◆ mtp

unsafe MR.Const_MeshTriPoint MR.Const_MeshPointAndDistance.mtp
getprotected set

the corresponding point on mesh in barycentric representation

◆ w

unsafe float MR.Const_MeshPointAndDistance.w
get

point's weight


The documentation for this class was generated from the following file: