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

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

+ Inheritance diagram for MR.Const_MeshOrPoints.Const_ProjectionResult:

Classes

struct  _Underlying
 

Public Member Functions

virtual void Dispose ()
 
unsafe Const_ProjectionResult ()
 Constructs an empty (default-constructed) instance.
 
unsafe Const_ProjectionResult (MR.Vector3f point, MR._InOpt_Vector3f normal, bool isBd, float distSq, MR.VertId closestVert)
 Constructs MR.MeshOrPoints.ProjectionResult elementwise.
 
unsafe Const_ProjectionResult (MR.MeshOrPoints.Const_ProjectionResult _other)
 Generated from constructor MR.MeshOrPoints.ProjectionResult.ProjectionResult.
 
unsafe bool valid ()
 Generated from method MR.MeshOrPoints.ProjectionResult.valid.
 

Static Public Member Functions

static unsafe operator bool (MR.MeshOrPoints.Const_ProjectionResult _this)
 Generated from conversion operator MR.MeshOrPoints.ProjectionResult.operator bool.
 

Protected Member Functions

virtual unsafe void Dispose (bool disposing)
 

Properties

unsafe ref readonly MR.Vector3f point [get]
 found closest point
 
unsafe MR.Std.Const_Optional_MRVector3f normal [get]
 
unsafe bool isBd [get]
 can be true only for meshes, if the closest point is located on the boundary of the mesh (or the current region)
 
unsafe float distSq [get]
 squared distance from query point to the closest point
 
unsafe ref readonly MR.VertId closestVert [get]
 
- Properties inherited from MR.Misc.Object< Const_ProjectionResult >
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_ProjectionResult >
bool _IsOwningVal
 

Detailed Description

Generated from class MR.MeshOrPoints.ProjectionResult. This is the const half of the class.

Property Documentation

◆ closestVert

unsafe ref readonly MR.VertId MR.Const_MeshOrPoints.Const_ProjectionResult.closestVert
get

for point clouds it is the closest vertex, for meshes it is the closest vertex of the triangle with the closest point

◆ normal

unsafe MR.Std.Const_Optional_MRVector3f MR.Const_MeshOrPoints.Const_ProjectionResult.normal
get

normal at the closest point; for meshes it will be pseudonormal with the differentiation depending on closest point location (face/edge/vertex)


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