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

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.
 
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)
 

Properties

unsafe ref readonly MR.Vector3f loc [get]
 point location
 
unsafe MR.Const_MeshTriPoint mtp [get]
 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]
 
- Properties inherited from MR.Misc.Object< Const_MeshPointAndDistance >
virtual bool _IsOwning [get]
 Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough.
 

Additional Inherited Members

- Protected Attributes inherited from MR.Misc.Object< Const_MeshPointAndDistance >
bool _IsOwningVal
 

Detailed Description

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

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


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