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

Class to accumulate planes to find then their crossing point Generated from class MR.PlaneAccumulator. This is the const half of the class. More...

+ Inheritance diagram for MR.Const_PlaneAccumulator:

Classes

struct  _Underlying
 

Public Member Functions

virtual void Dispose ()
 
unsafe Const_PlaneAccumulator ()
 Constructs an empty (default-constructed) instance.
 
unsafe Const_PlaneAccumulator (MR.Const_PlaneAccumulator _other)
 Generated from constructor MR.PlaneAccumulator.PlaneAccumulator.
 
unsafe MR.Vector3d findBestCrossPoint (in MR.Vector3d p0, double tol, MR.Misc.InOut< int >? rank=null, MR.Misc.InOut< MR.Vector3d >? space=null)
 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
 
unsafe MR.Vector3f findBestCrossPoint (in MR.Vector3f p0, float tol, MR.Misc.InOut< int >? rank=null, MR.Misc.InOut< MR.Vector3f >? space=null)
 Generated from method MR.PlaneAccumulator.findBestCrossPoint.
 

Protected Member Functions

virtual unsafe void Dispose (bool disposing)
 

Additional Inherited Members

- Protected Attributes inherited from MR.Misc.Object< Const_PlaneAccumulator >
bool _IsOwningVal
 
- Properties inherited from MR.Misc.Object< Const_PlaneAccumulator >
virtual bool _IsOwning [get]
 Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough.
 

Detailed Description

Class to accumulate planes to find then their crossing point Generated from class MR.PlaneAccumulator. This is the const half of the class.

Member Function Documentation

◆ findBestCrossPoint()

unsafe MR.Vector3d MR.Const_PlaneAccumulator.findBestCrossPoint ( in MR.Vector3d p0,
double tol,
MR.Misc.InOut< int >? rank = null,
MR.Misc.InOut< MR.Vector3d >? space = null )
inline

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

Parameters
tolrelative epsilon-tolerance for too small number detection
rankoptional output for solution matrix rank according to given tolerance
spacerank=1: unit normal to solution plane, rank=2: unit direction of solution line, rank=3: zero vector Generated from method MR.PlaneAccumulator.findBestCrossPoint.

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