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

Public Member Functions

 __init__ (self, *args, **kwargs)
Vector3d findBestCrossPoint (self, ConstVector3d p0, float tol, int_output rank=None, Vector3d space=None)
Vector3f findBestCrossPoint (self, ConstVector3f p0, float tol, int_output rank=None, Vector3f space=None)

Detailed Description

Generated from:  MR::PlaneAccumulator

Class to accumulate planes to find then their crossing point

Constructor & Destructor Documentation

◆ __init__()

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

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

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

Implicit copy constructor.

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

Member Function Documentation

◆ findBestCrossPoint() [1/2]

Vector3d mrmeshpy.ConstPlaneAccumulator.findBestCrossPoint ( self,
ConstVector3d p0,
float tol,
int_output rank = None,
Vector3d space = None )
computes the point that minimizes the sum of squared distances to accumulated planes;
if such point is not unique then returns the one closest to p0
\\param tol relative epsilon-tolerance for too small number detection
\\param rank optional output for solution matrix rank according to given tolerance
\\param space rank=1: unit normal to solution plane, rank=2: unit direction of solution line, rank=3: zero vector

◆ findBestCrossPoint() [2/2]

Vector3f mrmeshpy.ConstPlaneAccumulator.findBestCrossPoint ( self,
ConstVector3f p0,
float tol,
int_output rank = None,
Vector3f space = None )

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