#include <BALL/STRUCTURE/triangulatedSurface.h>
|
|
| | TriangulatedSphere () |
| |
| | TriangulatedSphere (const TriangulatedSphere &sphere, bool=true) |
| |
| virtual | ~TriangulatedSphere () |
| |
|
| void | set (const TriangulatedSphere &sphere, bool=true) |
| |
| TriangulatedSphere & | operator= (const TriangulatedSphere &sphere) |
| |
| | TriangulatedSurface () |
| |
| | TriangulatedSurface (const TriangulatedSurface &surface, bool=true) |
| |
| virtual | ~TriangulatedSurface () |
| |
| void | clear () |
| |
| void | set (const TriangulatedSurface &surface, bool=true) |
| |
| TriangulatedSurface & | operator= (const TriangulatedSurface &surface) |
| |
| void | insert (TrianglePoint *point) |
| |
| void | insert (TriangleEdge *edge) |
| |
| void | insert (Triangle *triangle) |
| |
| Size | getNumberOfPoints () const |
| |
| Size | getNumberOfEdges () const |
| |
| Size | getNumberOfTriangles () const |
| |
| void | remove (TrianglePoint *point, bool deep=true) |
| |
| void | remove (PointIterator p, bool deep=true) |
| |
| void | remove (TriangleEdge *edge, bool deep=true) |
| |
| void | remove (EdgeIterator e, bool deep=true) |
| |
| void | remove (Triangle *triangle, bool deep=true) |
| |
| void | remove (TriangleIterator t, bool deep=true) |
| |
| void | exportSurface (Surface &surface) |
| |
| TriangulatedSurface & | operator+= (const TriangulatedSurface &surface) |
| |
| void | join (TriangulatedSurface &source) |
| |
| void | shift (const TVector3< double > &c) |
| |
| void | blowUp (const double &r) |
| |
| void | setIndices () |
| |
| void | setDensity (const double &density) |
| |
| double | getDensity () const |
| |
| void | cut (const TPlane3< double > &plane, const double &fuzzy=0) |
| |
| void | shrink () |
| |
| void | deleteIsolatedEdges () |
| |
| void | deleteIsolatedPoints () |
| |
| void | getBorder (std::list< TriangleEdge * > &border) |
| |
| PointIterator | beginPoint () |
| |
| ConstPointIterator | beginPoint () const |
| |
| PointIterator | endPoint () |
| |
| ConstPointIterator | endPoint () const |
| |
| EdgeIterator | beginEdge () |
| |
| ConstEdgeIterator | beginEdge () const |
| |
| EdgeIterator | endEdge () |
| |
| ConstEdgeIterator | endEdge () const |
| |
| TriangleIterator | beginTriangle () |
| |
| ConstTriangleIterator | beginTriangle () const |
| |
| TriangleIterator | endTriangle () |
| |
| ConstTriangleIterator | endTriangle () const |
| |
Generic TriangulatedSphere Class.
Definition at line 387 of file triangulatedSurface.h.
◆ TriangulatedSphere() [1/2]
| BALL::TriangulatedSphere::TriangulatedSphere |
( |
| ) |
|
◆ TriangulatedSphere() [2/2]
◆ ~TriangulatedSphere()
| virtual BALL::TriangulatedSphere::~TriangulatedSphere |
( |
| ) |
|
|
virtual |
◆ icosaeder()
| void BALL::TriangulatedSphere::icosaeder |
( |
bool |
out = true | ) |
|
Build an icosaeder. If the TriangulatedSphere is not empty, it will be cleared first. The center of the icosaeder will be the origin, the radius will be 1.
- Parameters
-
| out | if out = true the normal vectors will be oriented outside, otherwise they will be oriented inside |
◆ operator=()
◆ pentakisDodecaeder()
| void BALL::TriangulatedSphere::pentakisDodecaeder |
( |
bool |
out = true | ) |
|
Build a pentakis dodecaeder. If the TriangulatedSphere is not empty, it will be cleared first. The center of the dodecaeder will be the origin, the radius will be 1.
- Parameters
-
| out | if out = true the normal vectors will be oriented outside, otherwise they will be oriented inside |
◆ refine()
| void BALL::TriangulatedSphere::refine |
( |
Position |
iterations, |
|
|
bool |
out = true |
|
) |
| |
Refine a triangulated sphere. The center of the sphere must be the origin, the radius must be 1.
- Parameters
-
| iterations | the number of refinement iterations |
| out | the orientation of the normal vectors |
◆ set()