MeshLib C# Docs
Loading...
Searching...
No Matches

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

Protected Attributes

unsafe MR.Vector3f__ref_storage_point
unsafe bool * __ref_storage_isBd
unsafe float * __ref_storage_distSq
unsafe MR.VertId__ref_storage_closestVert

Properties

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

Detailed Description

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

Constructor & Destructor Documentation

◆ Const_ProjectionResult() [1/4]

unsafe MR.Const_MeshOrPoints.Const_ProjectionResult.Const_ProjectionResult ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_ProjectionResult() [2/4]

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

Constructs MR.MeshOrPoints.ProjectionResult elementwise.

◆ Const_ProjectionResult() [3/4]

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

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

◆ Const_ProjectionResult() [4/4]

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

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

Member Function Documentation

◆ Dispose() [1/2]

virtual void MR.Const_MeshOrPoints.Const_ProjectionResult.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.Const_MeshOrPoints.Const_ProjectionResult.Dispose ( bool disposing)
inlineprotectedvirtual

◆ operator bool()

unsafe MR.Const_MeshOrPoints.Const_ProjectionResult.operator bool ( MR.MeshOrPoints.Const_ProjectionResult _this)
inlineexplicitstatic

Generated from conversion operator MR::MeshOrPoints::ProjectionResult::operator bool.

◆ valid()

unsafe bool MR.Const_MeshOrPoints.Const_ProjectionResult.valid ( )
inline

Generated from method MR::MeshOrPoints::ProjectionResult::valid.

Member Data Documentation

◆ __ref_storage_closestVert

unsafe MR.VertId* MR.Const_MeshOrPoints.Const_ProjectionResult.__ref_storage_closestVert
protected

◆ __ref_storage_distSq

unsafe float* MR.Const_MeshOrPoints.Const_ProjectionResult.__ref_storage_distSq
protected

◆ __ref_storage_isBd

unsafe bool* MR.Const_MeshOrPoints.Const_ProjectionResult.__ref_storage_isBd
protected

◆ __ref_storage_point

unsafe MR.Vector3f* MR.Const_MeshOrPoints.Const_ProjectionResult.__ref_storage_point
protected

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

◆ distSq

unsafe float MR.Const_MeshOrPoints.Const_ProjectionResult.distSq
get

squared distance from query point to the closest point

◆ isBd

unsafe bool MR.Const_MeshOrPoints.Const_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

unsafe MR.Std.Const_Optional_MRVector3f MR.Const_MeshOrPoints.Const_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

unsafe ref readonly MR.Vector3f MR.Const_MeshOrPoints.Const_ProjectionResult.point
get

found closest point


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