MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::PointPair Struct Reference

Stores a pair of points: one samples on the source and the closest to it on the target. More...

#include <MRICP.h>

+ Inheritance diagram for MR::PointPair:

Public Attributes

VertId srcVertId
 id of the source point
 
VertId tgtCloseVert
 
float normalsAngleCos = 1.f
 cosine between normals in source and target points
 
bool tgtOnBd = false
 true if if the closest point on target is located on the boundary (only for meshes)
 
- Public Attributes inherited from MR::ICPPairData
Vector3f srcPoint
 coordinates of the source point after transforming in world space
 
Vector3f srcNorm
 normal in source point after transforming in world space
 
Vector3f tgtPoint
 coordinates of the closest point on target after transforming in world space
 
Vector3f tgtNorm
 normal in the target point after transforming in world space
 
float distSq = 0.f
 squared distance between source and target points
 
float weight = 1.f
 weight of the pair (to prioritize over other pairs)
 

Friends

bool operator== (const PointPair &, const PointPair &)=default
 

Detailed Description

Stores a pair of points: one samples on the source and the closest to it on the target.


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