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

Stores a pair of points: one samples on the source and the closest to it on the target Generated from class MR.PointPair. Base classes: Direct: (non-virtual) MR.ICPPairData This is the non-const half of the class. More...

Inheritance diagram for MR.PointPair:

Public Member Functions

unsafe PointPair ()
 Constructs an empty (default-constructed) instance.
unsafe PointPair (MR.Const_PointPair _other)
 Generated from constructor MR.PointPair.PointPair.
 PointPair (PointPair _other)
 Generated from constructor MR.PointPair.PointPair.
unsafe MR.PointPair assign (MR.Const_PointPair _other)
 Generated from method MR::PointPair::operator=.
Public Member Functions inherited from MR.Const_PointPair
virtual void Dispose ()
unsafe Const_PointPair ()
 Constructs an empty (default-constructed) instance.
unsafe Const_PointPair (MR.Const_PointPair _other)
 Generated from constructor MR.PointPair.PointPair.
 Const_PointPair (PointPair _other)
 Generated from constructor MR.PointPair.PointPair.
bool Equals (MR.Const_PointPair? _2)
override bool Equals (object? other)

Static Public Member Functions

static unsafe implicit operator MR.ICPPairData (PointPair self)
Static Public Member Functions inherited from MR.Const_PointPair
static unsafe implicit operator MR.Const_ICPPairData (Const_PointPair self)
static unsafe bool operator== (MR.Const_PointPair _1, MR.Const_PointPair _2)
 Generated from function MR::operator==.
static unsafe bool operator!= (MR.Const_PointPair _1, MR.Const_PointPair _2)

Properties

new unsafe ref MR.VertId srcVertId [get]
 id of the source point
new unsafe ref MR.VertId tgtCloseVert [get]
 for point clouds it is the closest vertex on target, for meshes it is the closest vertex of the triangle with the closest point on target
new unsafe ref float normalsAngleCos [get]
 cosine between normals in source and target points
new unsafe ref bool tgtOnBd [get]
 true if if the closest point on target is located on the boundary (only for meshes)
new unsafe ref MR.Vector3f srcPoint [get]
 coordinates of the source point after transforming in world space
new unsafe ref MR.Vector3f srcNorm [get]
 normal in source point after transforming in world space
new unsafe ref MR.Vector3f tgtPoint [get]
 coordinates of the closest point on target after transforming in world space
new unsafe ref MR.Vector3f tgtNorm [get]
 normal in the target point after transforming in world space
new unsafe ref float distSq [get]
 squared distance between source and target points
new unsafe ref float weight [get]
 weight of the pair (to prioritize over other pairs)
Properties inherited from MR.Const_PointPair
unsafe ref readonly MR.VertId srcVertId [get]
 id of the source point
unsafe ref readonly MR.VertId tgtCloseVert [get]
 for point clouds it is the closest vertex on target, for meshes it is the closest vertex of the triangle with the closest point on target
unsafe float normalsAngleCos [get]
 cosine between normals in source and target points
unsafe bool tgtOnBd [get]
 true if if the closest point on target is located on the boundary (only for meshes)
unsafe ref readonly MR.Vector3f srcPoint [get]
 coordinates of the source point after transforming in world space
unsafe ref readonly MR.Vector3f srcNorm [get]
 normal in source point after transforming in world space
unsafe ref readonly MR.Vector3f tgtPoint [get]
 coordinates of the closest point on target after transforming in world space
unsafe ref readonly MR.Vector3f tgtNorm [get]
 normal in the target point after transforming in world space
unsafe float distSq [get]
 squared distance between source and target points
unsafe float weight [get]
 weight of the pair (to prioritize over other pairs)

Additional Inherited Members

Protected Member Functions inherited from MR.Const_PointPair
virtual unsafe void Dispose (bool disposing)
Protected Attributes inherited from MR.Const_PointPair
unsafe MR.VertId__ref_storage_srcVertId
unsafe MR.VertId__ref_storage_tgtCloseVert
unsafe float * __ref_storage_normalsAngleCos
unsafe bool * __ref_storage_tgtOnBd
unsafe MR.Vector3f__ref_storage_srcPoint
unsafe MR.Vector3f__ref_storage_srcNorm
unsafe MR.Vector3f__ref_storage_tgtPoint
unsafe MR.Vector3f__ref_storage_tgtNorm
unsafe float * __ref_storage_distSq
unsafe float * __ref_storage_weight

Detailed Description

Stores a pair of points: one samples on the source and the closest to it on the target Generated from class MR.PointPair. Base classes: Direct: (non-virtual) MR.ICPPairData This is the non-const half of the class.

Constructor & Destructor Documentation

◆ PointPair() [1/3]

unsafe MR.PointPair.PointPair ( )
inline

Constructs an empty (default-constructed) instance.

◆ PointPair() [2/3]

unsafe MR.PointPair.PointPair ( MR.Const_PointPair _other)
inline

Generated from constructor MR.PointPair.PointPair.

◆ PointPair() [3/3]

MR.PointPair.PointPair ( PointPair _other)
inline

Generated from constructor MR.PointPair.PointPair.

Member Function Documentation

◆ assign()

unsafe MR.PointPair MR.PointPair.assign ( MR.Const_PointPair _other)
inline

Generated from method MR::PointPair::operator=.

◆ operator MR.ICPPairData()

unsafe implicit MR.PointPair.operator MR.ICPPairData ( PointPair self)
inlinestatic

Property Documentation

◆ distSq

new unsafe ref float MR.PointPair.distSq
get

squared distance between source and target points

◆ normalsAngleCos

new unsafe ref float MR.PointPair.normalsAngleCos
get

cosine between normals in source and target points

◆ srcNorm

new unsafe ref MR.Vector3f MR.PointPair.srcNorm
get

normal in source point after transforming in world space

◆ srcPoint

new unsafe ref MR.Vector3f MR.PointPair.srcPoint
get

coordinates of the source point after transforming in world space

◆ srcVertId

new unsafe ref MR.VertId MR.PointPair.srcVertId
get

id of the source point

◆ tgtCloseVert

new unsafe ref MR.VertId MR.PointPair.tgtCloseVert
get

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

◆ tgtNorm

new unsafe ref MR.Vector3f MR.PointPair.tgtNorm
get

normal in the target point after transforming in world space

◆ tgtOnBd

new unsafe ref bool MR.PointPair.tgtOnBd
get

true if if the closest point on target is located on the boundary (only for meshes)

◆ tgtPoint

new unsafe ref MR.Vector3f MR.PointPair.tgtPoint
get

coordinates of the closest point on target after transforming in world space

◆ weight

new unsafe ref float MR.PointPair.weight
get

weight of the pair (to prioritize over other pairs)


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