MeshLib C# Docs
Loading...
Searching...
No Matches
MR.MeshPointAndDistance Class Reference

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

Inheritance diagram for MR.MeshPointAndDistance:

Public Member Functions

unsafe MeshPointAndDistance ()
 Constructs an empty (default-constructed) instance.
unsafe MeshPointAndDistance (MR.Vector3f loc, MR.Const_MeshTriPoint mtp, float eucledeanDist, float w, bool bidirectionalOrOutside)
 Constructs MR.MeshPointAndDistance elementwise.
unsafe MeshPointAndDistance (MR.Const_MeshPointAndDistance _other)
 Generated from constructor MR.MeshPointAndDistance.MeshPointAndDistance.
 MeshPointAndDistance (MeshPointAndDistance _other)
 Generated from constructor MR.MeshPointAndDistance.MeshPointAndDistance.
unsafe MR.MeshPointAndDistance assign (MR.Const_MeshPointAndDistance _other)
 Generated from method MR::MeshPointAndDistance::operator=.
Public Member Functions inherited from MR.Const_MeshPointAndDistance
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.

Properties

new unsafe ref MR.Vector3f loc [get]
 point location
new unsafe MR.MeshTriPoint mtp [get, protected set]
 the corresponding point on mesh in barycentric representation
new unsafe ref float eucledeanDist [get]
 euclidean distance from input location to mtp
new unsafe ref float w [get]
 point's weight
new unsafe ref bool bidirectionalOrOutside [get]
 either 1) bidirectional distances are computed, or 2) input location is locally outside of the surface (by pseudonormal) used for optimization
Properties inherited from MR.Const_MeshPointAndDistance
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

Additional Inherited Members

Static Public Member Functions inherited from MR.Const_MeshPointAndDistance
static unsafe operator bool (MR.Const_MeshPointAndDistance _this)
 Generated from conversion operator MR::MeshPointAndDistance::operator bool.
Protected Member Functions inherited from MR.Const_MeshPointAndDistance
virtual unsafe void Dispose (bool disposing)
Protected Attributes inherited from MR.Const_MeshPointAndDistance
unsafe MR.Vector3f__ref_storage_loc
unsafe float * __ref_storage_eucledeanDist
unsafe float * __ref_storage_w
unsafe bool * __ref_storage_bidirectionalOrOutside

Detailed Description

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

Constructor & Destructor Documentation

◆ MeshPointAndDistance() [1/4]

unsafe MR.MeshPointAndDistance.MeshPointAndDistance ( )
inline

Constructs an empty (default-constructed) instance.

◆ MeshPointAndDistance() [2/4]

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

Constructs MR.MeshPointAndDistance elementwise.

◆ MeshPointAndDistance() [3/4]

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

Generated from constructor MR.MeshPointAndDistance.MeshPointAndDistance.

◆ MeshPointAndDistance() [4/4]

MR.MeshPointAndDistance.MeshPointAndDistance ( MeshPointAndDistance _other)
inline

Generated from constructor MR.MeshPointAndDistance.MeshPointAndDistance.

Member Function Documentation

◆ assign()

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

Generated from method MR::MeshPointAndDistance::operator=.

Property Documentation

◆ bidirectionalOrOutside

new unsafe ref bool MR.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

new unsafe ref float MR.MeshPointAndDistance.eucledeanDist
get

euclidean distance from input location to mtp

◆ loc

new unsafe ref MR.Vector3f MR.MeshPointAndDistance.loc
get

point location

◆ mtp

new unsafe MR.MeshTriPoint MR.MeshPointAndDistance.mtp
getprotected set

the corresponding point on mesh in barycentric representation

◆ w

new unsafe ref float MR.MeshPointAndDistance.w
get

point's weight


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