Helios++
Helios software for LiDAR simulations
|
Class representing a plane. More...
#include <Plane.hpp>
Public Member Functions | |
Plane ()=default | |
Default plane constructor. | |
Plane (vector< T > centroid, vector< T > orthonormal, T scatter=0, T curvature=0) | |
Build a plane with given centroid, orthonormal and scatter. More... | |
Public Attributes | |
vector< T > | centroid |
Coordinates for plane centroid. | |
vector< T > | orthonormal |
Plane orthonormal vector. | |
T | scatter |
When the plane has been obtained through fitting to a sample, scatter will quantify variation with respect to elements in the sample. More... | |
T | curvature |
When the plane has been obtained through fitting to a sample, curvature is defined by expression: More... | |
Class representing a plane.
T | Type of number |
|
inline |
Build a plane with given centroid, orthonormal and scatter.
centroid | Centroid for the plane |
orthonormal | Orthonormal for the plane |
scatter | Scatter for the plane |
T SurfaceInspector::maths::Plane< T >::curvature |
When the plane has been obtained through fitting to a sample, curvature is defined by expression:
\[ \frac{\lambda_{1}}{\sum_{i}^{n}\lambda_{i}} \]
Where \(\lambda_{i}\) is the ith eigen value or ith singular value, depending on used method. So \(\lambda_{1}\) will be the eigen or singular value for the plane which maximizes distance with respect to sample set while \(lambda_{n}\) will be the one which minimizes it
T SurfaceInspector::maths::Plane< T >::scatter |
When the plane has been obtained through fitting to a sample, scatter will quantify variation with respect to elements in the sample.