MeshLib C# Docs
Loading...
Searching...
No Matches
MR.PointAccumulator Class Reference

Class to accumulate points and make best line / plane approximation Generated from class MR.PointAccumulator. This is the non-const half of the class. More...

Inheritance diagram for MR.PointAccumulator:

Public Member Functions

unsafe PointAccumulator ()
 Constructs an empty (default-constructed) instance.
unsafe PointAccumulator (MR.Const_PointAccumulator _other)
 Generated from constructor MR.PointAccumulator.PointAccumulator.
 PointAccumulator (PointAccumulator _other)
 Generated from constructor MR.PointAccumulator.PointAccumulator.
unsafe MR.PointAccumulator assign (MR.Const_PointAccumulator _other)
 Generated from method MR::PointAccumulator::operator=.
unsafe void addPoint (in MR.Vector3d pt)
 Generated from method MR.PointAccumulator.addPoint.
unsafe void addPoint (in MR.Vector3d pt, double weight)
 Generated from method MR.PointAccumulator.addPoint.
unsafe void addPoint (in MR.Vector3f pt)
 Generated from method MR.PointAccumulator.addPoint.
unsafe void addPoint (in MR.Vector3f pt, float weight)
 Generated from method MR.PointAccumulator.addPoint.
Public Member Functions inherited from MR.Const_PointAccumulator
virtual void Dispose ()
unsafe Const_PointAccumulator ()
 Constructs an empty (default-constructed) instance.
unsafe Const_PointAccumulator (MR.Const_PointAccumulator _other)
 Generated from constructor MR.PointAccumulator.PointAccumulator.
 Const_PointAccumulator (PointAccumulator _other)
 Generated from constructor MR.PointAccumulator.PointAccumulator.
unsafe MR.Plane3d getBestPlane ()
 computes the best approximating plane from the accumulated points Generated from method MR.PointAccumulator.getBestPlane.
unsafe MR.Plane3f getBestPlanef ()
 Generated from method MR.PointAccumulator.getBestPlanef.
unsafe MR.Line3d getBestLine ()
 computes the best approximating line from the accumulated points Generated from method MR.PointAccumulator.getBestLine.
unsafe MR.Line3f getBestLinef ()
 Generated from method MR.PointAccumulator.getBestLinef.
unsafe bool getCenteredCovarianceEigen (ref MR.Vector3d centroid, ref MR.Matrix3d eigenvectors, ref MR.Vector3d eigenvalues)
 computes centroid and eigenvectors/eigenvalues of the covariance matrix of the accumulated points Generated from method MR.PointAccumulator.getCenteredCovarianceEigen.
unsafe bool getCenteredCovarianceEigen (ref MR.Vector3f centroid, ref MR.Matrix3f eigenvectors, ref MR.Vector3f eigenvalues)
 Generated from method MR.PointAccumulator.getCenteredCovarianceEigen.
unsafe MR.AffineXf3d getBasicXf ()
 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 Generated from method MR.PointAccumulator.getBasicXf.
unsafe MR.AffineXf3f getBasicXf3f ()
 Generated from method MR.PointAccumulator.getBasicXf3f.
unsafe MR.Std.Array_MRAffineXf3d_4 get4BasicXfs ()
 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 Generated from method MR.PointAccumulator.get4BasicXfs.
unsafe MR.Std.Array_MRAffineXf3f_4 get4BasicXfs3f ()
 Generated from method MR.PointAccumulator.get4BasicXfs3f.
unsafe bool valid ()
 Generated from method MR.PointAccumulator.valid.

Additional Inherited Members

Protected Member Functions inherited from MR.Const_PointAccumulator
virtual unsafe void Dispose (bool disposing)

Detailed Description

Class to accumulate points and make best line / plane approximation Generated from class MR.PointAccumulator. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ PointAccumulator() [1/3]

unsafe MR.PointAccumulator.PointAccumulator ( )
inline

Constructs an empty (default-constructed) instance.

◆ PointAccumulator() [2/3]

unsafe MR.PointAccumulator.PointAccumulator ( MR.Const_PointAccumulator _other)
inline

Generated from constructor MR.PointAccumulator.PointAccumulator.

◆ PointAccumulator() [3/3]

MR.PointAccumulator.PointAccumulator ( PointAccumulator _other)
inline

Generated from constructor MR.PointAccumulator.PointAccumulator.

Member Function Documentation

◆ addPoint() [1/4]

unsafe void MR.PointAccumulator.addPoint ( in MR.Vector3d pt)
inline

Generated from method MR.PointAccumulator.addPoint.

◆ addPoint() [2/4]

unsafe void MR.PointAccumulator.addPoint ( in MR.Vector3d pt,
double weight )
inline

Generated from method MR.PointAccumulator.addPoint.

◆ addPoint() [3/4]

unsafe void MR.PointAccumulator.addPoint ( in MR.Vector3f pt)
inline

Generated from method MR.PointAccumulator.addPoint.

◆ addPoint() [4/4]

unsafe void MR.PointAccumulator.addPoint ( in MR.Vector3f pt,
float weight )
inline

Generated from method MR.PointAccumulator.addPoint.

◆ assign()

unsafe MR.PointAccumulator MR.PointAccumulator.assign ( MR.Const_PointAccumulator _other)
inline

Generated from method MR::PointAccumulator::operator=.


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