MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.PointPair Class Reference
+ Inheritance diagram for mrmeshpy.PointPair:

Public Member Functions

None __init__ (self)
 
float normalsAngleCos (self)
 
None normalsAngleCos (self, float arg1)
 
VertId srcVertId (self)
 
None srcVertId (self, VertId arg1)
 
VertId tgtCloseVert (self)
 
None tgtCloseVert (self, VertId arg1)
 
bool tgtOnBd (self)
 
None tgtOnBd (self, bool arg1)
 
- Public Member Functions inherited from mrmeshpy.ICPPairData
float distSq (self)
 
None distSq (self, float arg1)
 
Vector3f srcNorm (self)
 
None srcNorm (self, Vector3f arg1)
 
Vector3f srcPoint (self)
 
None srcPoint (self, Vector3f arg1)
 
Vector3f tgtNorm (self)
 
None tgtNorm (self, Vector3f arg1)
 
Vector3f tgtPoint (self)
 
None tgtPoint (self, Vector3f arg1)
 
float weight (self)
 
None weight (self, float arg1)
 

Static Public Member Functions

bool __eq__ (*args, **kwargs)
 
None __init__ (*args, **kwargs)
 
PointPair operator (*args, **kwargs)
 
PointPair operator (*args, **kwargs)
 

Static Protected Attributes

typing _offsetof_normalsAngleCos = 64
 
typing _offsetof_srcVertId = 56
 
typing _offsetof_tgtCloseVert = 60
 
typing _offsetof_tgtOnBd = 68
 
- Static Protected Attributes inherited from mrmeshpy.ICPPairData
typing _offsetof_distSq = 48
 
typing _offsetof_srcNorm = 12
 
typing _offsetof_srcPoint = 0
 
typing _offsetof_tgtNorm = 36
 
typing _offsetof_tgtPoint = 24
 
typing _offsetof_weight = 52
 

Detailed Description

Generated from:  MR::PointPair

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

Constructor & Destructor Documentation

◆ __init__() [1/2]

None mrmeshpy.PointPair.__init__ ( * args,
** kwargs )
static

Reimplemented from mrmeshpy.ICPPairData.

◆ __init__() [2/2]

None mrmeshpy.PointPair.__init__ ( self)

Reimplemented from mrmeshpy.ICPPairData.

Member Function Documentation

◆ __eq__()

bool mrmeshpy.PointPair.__eq__ ( * args,
** kwargs )
static

Reimplemented from mrmeshpy.ICPPairData.

◆ normalsAngleCos() [1/2]

float mrmeshpy.PointPair.normalsAngleCos ( self)
cosine between normals in source and target points

◆ normalsAngleCos() [2/2]

None mrmeshpy.PointPair.normalsAngleCos ( self,
float arg1 )

◆ operator() [1/2]

PointPair mrmeshpy.PointPair.operator ( * args,
** kwargs )
static

Reimplemented from mrmeshpy.ICPPairData.

◆ operator() [2/2]

PointPair mrmeshpy.PointPair.operator ( * args,
** kwargs )
static

Reimplemented from mrmeshpy.ICPPairData.

◆ srcVertId() [1/2]

VertId mrmeshpy.PointPair.srcVertId ( self)
id of the source point

◆ srcVertId() [2/2]

None mrmeshpy.PointPair.srcVertId ( self,
VertId arg1 )

◆ tgtCloseVert() [1/2]

VertId mrmeshpy.PointPair.tgtCloseVert ( self)
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

◆ tgtCloseVert() [2/2]

None mrmeshpy.PointPair.tgtCloseVert ( self,
VertId arg1 )

◆ tgtOnBd() [1/2]

bool mrmeshpy.PointPair.tgtOnBd ( self)
true if if the closest point on target is located on the boundary (only for meshes)

◆ tgtOnBd() [2/2]

None mrmeshpy.PointPair.tgtOnBd ( self,
bool arg1 )

Member Data Documentation

◆ _offsetof_normalsAngleCos

typing mrmeshpy.PointPair._offsetof_normalsAngleCos = 64
staticprotected

◆ _offsetof_srcVertId

typing mrmeshpy.PointPair._offsetof_srcVertId = 56
staticprotected

◆ _offsetof_tgtCloseVert

typing mrmeshpy.PointPair._offsetof_tgtCloseVert = 60
staticprotected

◆ _offsetof_tgtOnBd

typing mrmeshpy.PointPair._offsetof_tgtOnBd = 68
staticprotected

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