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

Public Member Functions

None __init__ (self)
None __init__ (self, ConstPointPair arg0)
PointPair assign (self, ConstPointPair other)
float normalsAngleCos (self)
None normalsAngleCos (self, float arg1)
VertId srcVertId (self)
None srcVertId (self, ConstVertId arg1)
VertId tgtCloseVert (self)
None tgtCloseVert (self, ConstVertId arg1)
bool tgtOnBd (self)
None tgtOnBd (self, bool arg1)
Public Member Functions inherited from mrmeshpy.ConstPointPair
 __init__ (self, *args, **kwargs)
Public Member Functions inherited from mrmeshpy.ConstICPPairData
 __init__ (self, *args, **kwargs)
Public Member Functions inherited from mrmeshpy.ICPPairData
None __init__ (self)
None __init__ (self, ConstICPPairData arg0)
None __init__ (self, ConstVector3f srcPoint, ConstVector3f srcNorm, ConstVector3f tgtPoint, ConstVector3f tgtNorm, float distSq, float weight)
float distSq (self)
None distSq (self, float arg1)
Vector3f srcNorm (self)
None srcNorm (self, ConstVector3f arg1)
Vector3f srcPoint (self)
None srcPoint (self, ConstVector3f arg1)
Vector3f tgtNorm (self)
None tgtNorm (self, ConstVector3f arg1)
Vector3f tgtPoint (self)
None tgtPoint (self, ConstVector3f arg1)
float weight (self)
None weight (self, float arg1)

Static Public Member Functions

None __init__ (*args, **kwargs)
Static Public Member Functions inherited from mrmeshpy.ConstPointPair
bool __eq__ (*args, **kwargs)
bool __ne__ (*args, **kwargs)
Static Public Member Functions inherited from mrmeshpy.ConstICPPairData
bool __eq__ (*args, **kwargs)
bool __ne__ (*args, **kwargs)
Static Public Member Functions inherited from mrmeshpy.ICPPairData
None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstPointPair
typing _offsetof_normalsAngleCos = 64
typing _offsetof_srcVertId = 56
typing _offsetof_tgtCloseVert = 60
typing _offsetof_tgtOnBd = 68
Static Protected Attributes inherited from mrmeshpy.ConstICPPairData
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/3]

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

◆ __init__() [2/3]

None mrmeshpy.PointPair.__init__ ( self)

◆ __init__() [3/3]

None mrmeshpy.PointPair.__init__ ( self,
ConstPointPair arg0 )
Implicit copy constructor.

Member Function Documentation

◆ assign()

PointPair mrmeshpy.PointPair.assign ( self,
ConstPointPair other )

Reimplemented from mrmeshpy.ICPPairData.

◆ normalsAngleCos() [1/2]

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

Reimplemented from mrmeshpy.ConstPointPair.

◆ normalsAngleCos() [2/2]

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

Reimplemented from mrmeshpy.ConstPointPair.

◆ srcVertId() [1/2]

VertId mrmeshpy.PointPair.srcVertId ( self)
id of the source point: a vertex of the source object, or a point of the denser cloud
in case of grid sampling of a mesh with big triangles (see ICP::sampleFltPoints)

Reimplemented from mrmeshpy.ConstPointPair.

◆ srcVertId() [2/2]

None mrmeshpy.PointPair.srcVertId ( self,
ConstVertId arg1 )
id of the source point: a vertex of the source object, or a point of the denser cloud
in case of grid sampling of a mesh with big triangles (see ICP::sampleFltPoints)

Reimplemented from mrmeshpy.ConstPointPair.

◆ 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

Reimplemented from mrmeshpy.ConstPointPair.

◆ tgtCloseVert() [2/2]

None mrmeshpy.PointPair.tgtCloseVert ( self,
ConstVertId arg1 )
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

Reimplemented from mrmeshpy.ConstPointPair.

◆ tgtOnBd() [1/2]

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

Reimplemented from mrmeshpy.ConstPointPair.

◆ tgtOnBd() [2/2]

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

Reimplemented from mrmeshpy.ConstPointPair.


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