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

Public Member Functions

 __init__ (self, *args, **kwargs)
std_array_AffineXf_Vector3_double_4 get4BasicXfs (self)
std_array_AffineXf_Vector3_float_4 get4BasicXfs3f (self)
AffineXf3d getBasicXf (self)
AffineXf3f getBasicXf3f (self)
Line3d getBestLine (self)
Line3f getBestLinef (self)
Plane3d getBestPlane (self)
Plane3f getBestPlanef (self)
bool getCenteredCovarianceEigen (self, Vector3d centroid, Matrix3d eigenvectors, Vector3d eigenvalues)
bool getCenteredCovarianceEigen (self, Vector3f centroid, Matrix3f eigenvectors, Vector3f eigenvalues)
bool valid (self)

Detailed Description

Generated from:  MR::PointAccumulator

Class to accumulate points and make best line / plane approximation

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstPointAccumulator.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstPointAccumulator) -> None

2. __init__(self: meshlib.mrmeshpy.ConstPointAccumulator, arg0: meshlib.mrmeshpy.ConstPointAccumulator) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstPointAccumulator, : meshlib.mrmeshpy.ConstPointAccumulator) -> None

Member Function Documentation

◆ get4BasicXfs()

std_array_AffineXf_Vector3_double_4 mrmeshpy.ConstPointAccumulator.get4BasicXfs ( self)
returns 4 transformations, each maps (0,0,0) into point centroid,
and maps vectors (1,0,0), (0,1,0), (0,0,1) into +/- first, +/- second, +/- third eigenvectors (forming positive reference frame) corresponding to ascending eigenvalues

◆ get4BasicXfs3f()

std_array_AffineXf_Vector3_float_4 mrmeshpy.ConstPointAccumulator.get4BasicXfs3f ( self)

◆ getBasicXf()

AffineXf3d mrmeshpy.ConstPointAccumulator.getBasicXf ( self)
returns the transformation that maps (0,0,0) into point centroid,
and maps vectors (1,0,0), (0,1,0), (0,0,1) into first, second, third eigenvectors corresponding to ascending eigenvalues

◆ getBasicXf3f()

AffineXf3f mrmeshpy.ConstPointAccumulator.getBasicXf3f ( self)

◆ getBestLine()

Line3d mrmeshpy.ConstPointAccumulator.getBestLine ( self)
computes the best approximating line from the accumulated points

◆ getBestLinef()

Line3f mrmeshpy.ConstPointAccumulator.getBestLinef ( self)

◆ getBestPlane()

Plane3d mrmeshpy.ConstPointAccumulator.getBestPlane ( self)
computes the best approximating plane from the accumulated points

◆ getBestPlanef()

Plane3f mrmeshpy.ConstPointAccumulator.getBestPlanef ( self)

◆ getCenteredCovarianceEigen() [1/2]

bool mrmeshpy.ConstPointAccumulator.getCenteredCovarianceEigen ( self,
Vector3d centroid,
Matrix3d eigenvectors,
Vector3d eigenvalues )
computes centroid and eigenvectors/eigenvalues of the covariance matrix of the accumulated points

◆ getCenteredCovarianceEigen() [2/2]

bool mrmeshpy.ConstPointAccumulator.getCenteredCovarianceEigen ( self,
Vector3f centroid,
Matrix3f eigenvectors,
Vector3f eigenvalues )

◆ valid()

bool mrmeshpy.ConstPointAccumulator.valid ( self)

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