![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Delaunay 2D1/2 "local modelization". More...


Public Member Functions | |
| DelaunayLocalModel (GenericMesh *tri, const CCVector3 ¢er, PointCoordinateType squaredRadius) | |
| Constructor. More... | |
| ~DelaunayLocalModel () override | |
| Destructor. More... | |
| CV_LOCAL_MODEL_TYPES | getType () const override |
| Returns the model type. More... | |
| ScalarType | computeDistanceFromModelToPoint (const CCVector3 *P, CCVector3 *nearestPoint=nullptr) const override |
| Compute the (unsigned) distance between a 3D point and this model. More... | |
Public Member Functions inherited from cloudViewer::LocalModel | |
| virtual | ~LocalModel ()=default |
| Destructor. More... | |
| const CCVector3 & | getCenter () const |
| Returns the model center. More... | |
| PointCoordinateType | getSquareSize () const |
| Returns the model max radius (squared) More... | |
Protected Attributes | |
| GenericMesh * | m_tri |
| Associated triangulation. More... | |
Protected Attributes inherited from cloudViewer::LocalModel | |
| CCVector3 | m_modelCenter |
| Center. More... | |
| PointCoordinateType | m_squaredRadius |
| Max radius (squared) More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from cloudViewer::LocalModel | |
| static LocalModel * | New (CV_LOCAL_MODEL_TYPES type, Neighbourhood &subset, const CCVector3 ¢er, PointCoordinateType squaredRadius) |
| Factory. More... | |
Protected Member Functions inherited from cloudViewer::LocalModel | |
| LocalModel (const CCVector3 ¢er, PointCoordinateType squaredRadius) | |
| Constructor. More... | |
Delaunay 2D1/2 "local modelization".
Definition at line 53 of file LocalModel.cpp.
|
inline |
Constructor.
Definition at line 56 of file LocalModel.cpp.
|
inlineoverride |
Destructor.
Definition at line 64 of file LocalModel.cpp.
|
inlineoverridevirtual |
Compute the (unsigned) distance between a 3D point and this model.
| [in] | P | the query point |
| [out] | nearestPoint | returns the nearest point (optional) |
Implements cloudViewer::LocalModel.
Definition at line 70 of file LocalModel.cpp.
References cloudViewer::DistanceComputationTools::computePoint2TriangleDistance(), and NAN_VALUE.
|
inlineoverridevirtual |
Returns the model type.
Implements cloudViewer::LocalModel.
Definition at line 67 of file LocalModel.cpp.
References TRI.
|
protected |
Associated triangulation.
Definition at line 100 of file LocalModel.cpp.