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.
 ProjectionResult (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.
 Const_ProjectionResult (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, protected set]
 normal at the closest point; for meshes it will be pseudonormal with the differentiation depending on closest point location (face/edge/vertex)
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]
 for point clouds it is the closest vertex, for meshes it is the closest vertex of the triangle with the closest point
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, protected set]
 normal at the closest point; for meshes it will be pseudonormal with the differentiation depending on closest point location (face/edge/vertex)
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]
 for point clouds it is the closest vertex, for meshes it is the closest vertex of the triangle with the closest point

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.Const_MeshOrPoints.Const_ProjectionResult
unsafe MR.Vector3f__ref_storage_point
unsafe bool * __ref_storage_isBd
unsafe float * __ref_storage_distSq
unsafe MR.VertId__ref_storage_closestVert

Detailed Description

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

Constructor & Destructor Documentation

◆ ProjectionResult() [1/4]

unsafe MR.Const_MeshOrPoints.ProjectionResult.ProjectionResult ( )
inline

Constructs an empty (default-constructed) instance.

◆ ProjectionResult() [2/4]

unsafe MR.Const_MeshOrPoints.ProjectionResult.ProjectionResult ( MR.Vector3f point,
MR._InOpt_Vector3f normal,
bool isBd,
float distSq,
MR.VertId closestVert )
inline

Constructs MR.MeshOrPoints.ProjectionResult elementwise.

◆ ProjectionResult() [3/4]

unsafe MR.Const_MeshOrPoints.ProjectionResult.ProjectionResult ( MR.MeshOrPoints.Const_ProjectionResult _other)
inline

Generated from constructor MR::MeshOrPoints::ProjectionResult::ProjectionResult.

◆ ProjectionResult() [4/4]

MR.Const_MeshOrPoints.ProjectionResult.ProjectionResult ( ProjectionResult _other)
inline

Generated from constructor MR::MeshOrPoints::ProjectionResult::ProjectionResult.

Member Function Documentation

◆ assign()

unsafe MR.MeshOrPoints.ProjectionResult MR.Const_MeshOrPoints.ProjectionResult.assign ( MR.MeshOrPoints.Const_ProjectionResult _other)
inline

Generated from method MR::MeshOrPoints::ProjectionResult::operator=.

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

◆ distSq

new unsafe ref float MR.Const_MeshOrPoints.ProjectionResult.distSq
get

squared distance from query point to the closest point

◆ isBd

new unsafe ref bool MR.Const_MeshOrPoints.ProjectionResult.isBd
get

can be true only for meshes, if the closest point is located on the boundary of the mesh (or the current region)

◆ normal

new unsafe MR.Std.Optional_MRVector3f MR.Const_MeshOrPoints.ProjectionResult.normal
getprotected set

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

◆ point

new unsafe ref MR.Vector3f MR.Const_MeshOrPoints.ProjectionResult.point
get

found closest point


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