5 #ifndef BALL_STRUCTURE_TRIANGULATEDSURFACE_H
6 #define BALL_STRUCTURE_TRIANGULATEDSURFACE_H
8 #ifndef BALL_STRUCTURE_TRIANGLE_H
12 #ifndef BALL_STRUCTURE_TRIANGLEEDGE_H
16 #ifndef BALL_STRUCTURE_TRIANGLEPOINT_H
20 #ifndef BALL_MATHS_PLANE3_H
24 #ifndef BALL_MATHS_SURFACE_H
28 #ifndef BALL_MATHS_VECTOR3_H
51 typedef std::list<TrianglePoint*>::iterator
53 typedef std::list<TrianglePoint*>::const_iterator
55 typedef std::list<TriangleEdge*>::iterator
57 typedef std::list<TriangleEdge*>::const_iterator
59 typedef std::list<Triangle*>::iterator
61 typedef std::list<Triangle*>::const_iterator
478 void refine(
bool out);
480 void buildFourTriangles
490 void setIncidences();
#define BALL_CREATE(name)
BALL_EXPORT std::ostream & operator<<(std::ostream &os, const Exception::GeneralException &e)
BALL_EXTERN_VARIABLE const double c
Size getNumberOfTriangles() const
void exportSurface(Surface &surface)
void deleteIsolatedEdges()
static TriangulatedSurface * createTube(unsigned int num_vertices, unsigned int subdiv=0, bool closed=false, bool out=true)
std::list< Triangle * > triangles_
std::list< Triangle * >::const_iterator ConstTriangleIterator
void remove(TriangleEdge *edge, bool deep=true)
Size number_of_triangles_
void blowUp(const double &r)
void deleteIsolatedPoints()
std::list< TrianglePoint * >::const_iterator ConstPointIterator
void shift(const TVector3< double > &c)
void getBorder(std::list< TriangleEdge * > &border)
void remove(TriangleIterator t, bool deep=true)
void copy(const TriangulatedSurface &surface)
void join(TriangulatedSurface &source)
ConstTriangleIterator beginTriangle() const
std::list< TriangleEdge * >::iterator EdgeIterator
void setDensity(const double &density)
ConstPointIterator endPoint() const
void set(const TriangulatedSurface &surface, bool=true)
std::list< TrianglePoint * >::iterator PointIterator
std::list< TriangleEdge * >::const_iterator ConstEdgeIterator
ConstEdgeIterator endEdge() const
Size getNumberOfEdges() const
void insert(Triangle *triangle)
TriangleIterator beginTriangle()
static TriangulatedSurface * createDisk(unsigned int num_vertices, bool out=true)
void insert(TrianglePoint *point)
void insert(TriangleEdge *edge)
void remove(PointIterator p, bool deep=true)
PointIterator beginPoint()
void cut(const TPlane3< double > &plane, const double &fuzzy=0)
ConstPointIterator beginPoint() const
virtual ~TriangulatedSurface()
std::list< Triangle * >::iterator TriangleIterator
std::list< TriangleEdge * > edges_
TriangleIterator endTriangle()
double getDensity() const
TriangulatedSurface(const TriangulatedSurface &surface, bool=true)
void remove(TrianglePoint *point, bool deep=true)
void remove(Triangle *triangle, bool deep=true)
ConstTriangleIterator endTriangle() const
std::list< TrianglePoint * > points_
ConstEdgeIterator beginEdge() const
Size getNumberOfPoints() const
void remove(EdgeIterator e, bool deep=true)
virtual ~TriangulatedSphere()
TriangulatedSphere(const TriangulatedSphere &sphere, bool=true)
void refine(Position iterations, bool out=true)
void icosaeder(bool out=true)
void set(const TriangulatedSphere &sphere, bool=true)
void pentakisDodecaeder(bool out=true)