MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Const_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 const half of the class. More...

+ Inheritance diagram for MR.Const_PointPair:

Classes

struct  _Underlying
 

Public Member Functions

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.
 
bool Equals (MR.Const_PointPair? _2)
 
override bool Equals (object? other)
 

Static Public Member Functions

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)
 

Protected Member Functions

virtual unsafe void Dispose (bool disposing)
 

Properties

unsafe ref readonly MR.VertId srcVertId [get]
 id of the source point
 
unsafe ref readonly MR.VertId tgtCloseVert [get]
 
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)
 
- Properties inherited from MR.Misc.Object< Const_PointPair >
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

- Protected Attributes inherited from MR.Misc.Object< Const_PointPair >
bool _IsOwningVal
 

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 const half of the class.

Property Documentation

◆ tgtCloseVert

unsafe ref readonly MR.VertId MR.Const_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


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