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

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

+ Inheritance diagram for MR.Const_MeshOrPoints.ProjectionResult:

Public Member Functions

unsafe ProjectionResult ()
 Constructs an empty (default-constructed) instance.
 
unsafe ProjectionResult (MR.Vector3f point, MR._InOpt_Vector3f normal, bool isBd, float distSq, MR.VertId closestVert)
 Constructs MR.MeshOrPoints.ProjectionResult elementwise.
 
unsafe ProjectionResult (MR.MeshOrPoints.Const_ProjectionResult _other)
 Generated from constructor MR.MeshOrPoints.ProjectionResult.ProjectionResult.
 
unsafe MR.MeshOrPoints.ProjectionResult assign (MR.MeshOrPoints.Const_ProjectionResult _other)
 Generated from method MR.MeshOrPoints.ProjectionResult.operator=.
 
- Public Member Functions inherited from MR.Const_MeshOrPoints.Const_ProjectionResult
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.
 

Properties

new unsafe ref MR.Vector3f point [get]
 found closest point
 
new unsafe MR.Std.Optional_MRVector3f normal [get]
 
new unsafe ref 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)
 
new unsafe ref float distSq [get]
 squared distance from query point to the closest point
 
new unsafe ref MR.VertId closestVert [get]
 
- Properties inherited from MR.Const_MeshOrPoints.Const_ProjectionResult
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

- Static Public Member Functions inherited from MR.Const_MeshOrPoints.Const_ProjectionResult
static unsafe operator bool (MR.MeshOrPoints.Const_ProjectionResult _this)
 Generated from conversion operator MR.MeshOrPoints.ProjectionResult.operator bool.
 
- Protected Member Functions inherited from MR.Const_MeshOrPoints.Const_ProjectionResult
virtual unsafe void Dispose (bool disposing)
 
- Protected Attributes inherited from MR.Misc.Object< Const_ProjectionResult >
bool _IsOwningVal
 

Detailed Description

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

Property Documentation

◆ closestVert

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

new unsafe MR.Std.Optional_MRVector3f MR.Const_MeshOrPoints.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: