MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.PlaneAccumulator Class Reference

Public Member Functions

None __init__ (self)
 
None __init__ (self, PlaneAccumulator arg0)
 
None addPlane (self, Plane3d pl)
 
None addPlane (self, Plane3f pl)
 
Vector3d findBestCrossPoint (self, Vector3d p0, float tol, int_output rank=None, Vector3d space=None)
 
Vector3f findBestCrossPoint (self, Vector3f p0, float tol, int_output rank=None, Vector3f space=None)
 

Static Protected Member Functions

 _pybind11_conduit_v1_ (*args, **kwargs)
 

Detailed Description

Generated from:  MR::PlaneAccumulator

Class to accumulate planes to find then their crossing point

Constructor & Destructor Documentation

◆ __init__() [1/2]

None mrmeshpy.PlaneAccumulator.__init__ ( self)
Implicit default constructor.

◆ __init__() [2/2]

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

Member Function Documentation

◆ _pybind11_conduit_v1_()

mrmeshpy.PlaneAccumulator._pybind11_conduit_v1_ ( * args,
** kwargs )
staticprotected

◆ addPlane() [1/2]

None mrmeshpy.PlaneAccumulator.addPlane ( self,
Plane3d pl )

◆ addPlane() [2/2]

None mrmeshpy.PlaneAccumulator.addPlane ( self,
Plane3f pl )

◆ findBestCrossPoint() [1/2]

Vector3d mrmeshpy.PlaneAccumulator.findBestCrossPoint ( self,
Vector3d 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.PlaneAccumulator.findBestCrossPoint ( self,
Vector3f p0,
float tol,
int_output rank = None,
Vector3f space = None )

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