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

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=.
 

Static Public Member Functions

static unsafe implicit operator MR.ICPPairData (PointPair self)
 

Properties

new unsafe ref MR.VertId srcVertId [get]
 id of the source point
 
new unsafe ref MR.VertId tgtCloseVert [get]
 
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)
 

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

static 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: