Loading...
Searching...
No Matches
triangleEdge.h
Go to the documentation of this file.
// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
#ifndef BALL_STRUCTURE_TRIANGLEEDGE_H
#define BALL_STRUCTURE_TRIANGLEEDGE_H
#ifndef BALL_STRUCTURE_GRAPHEDGE_H
# include <BALL/STRUCTURE/graphEdge.h>
#endif
#ifndef BALL_STRUCTURE_GRAPHFACE_H
# include <BALL/STRUCTURE/graphFace.h>
#endif
#ifndef BALL_STRUCTURE_GRAPHVERTEX_H
# include <BALL/STRUCTURE/graphVertex.h>
#endif
namespace BALL
{
class Triangle;
class TrianglePoint;
class TriangulatedSurface;
class TriangulatedSphere;
class TriangulatedSES;
class TriangulatedSAS;
class SESTriangulator;
class SASTriangulator;
class BALL_EXPORT TriangleEdge
: public GraphEdge< TrianglePoint,TriangleEdge,Triangle >
{
public:
friend class Triangle;
friend class TrianglePoint;
friend class TriangulatedSurface;
friend class TriangulatedSphere;
friend class TriangulatedSES;
friend class TriangulatedSAS;
friend class SESTriangulator;
friend class SASTriangulator;
BALL_CREATE(TriangleEdge)
TriangleEdge();
TriangleEdge(TrianglePoint* v1, TrianglePoint* v2);
TriangleEdge(const TriangleEdge& edge, bool deep = false);
virtual ~TriangleEdge();
void setPoint(Position i, TrianglePoint* point);
TrianglePoint* getPoint(Position i) const;
void setTriangle(Position i, Triangle* triangle);
Triangle* getTriangle(Position i) const;
virtual bool operator == (const TriangleEdge&) const;
virtual bool operator != (const TriangleEdge&) const;
virtual bool operator *= (const TriangleEdge&) const;
};
BALL_EXPORT std::ostream& operator << (std::ostream& s, const TriangleEdge& edge);
} // namespace BALL
#endif // BALL_STRUCTURE_TRIANGLEEDGE_H
BALL_EXPORT
#define BALL_EXPORT
Definition COMMON/global.h:50
BALL::GraphEdge< TrianglePoint, TriangleEdge, Triangle >::GraphEdge
GraphEdge()
Definition graphEdge.h:255
BALL::SASTriangulator
Definition triangulatedSAS.h:161
BALL::SESTriangulator
Definition triangulatedSES.h:164
BALL::TriangleEdge
Definition triangleEdge.h:39
BALL::TriangleEdge::getPoint
TrianglePoint * getPoint(Position i) const
BALL::TriangleEdge::SESTriangulator
friend class SESTriangulator
Definition triangleEdge.h:61
BALL::TriangleEdge::SASTriangulator
friend class SASTriangulator
Definition triangleEdge.h:62
BALL::TriangleEdge::TrianglePoint
friend class TrianglePoint
Definition triangleEdge.h:56
BALL::TriangleEdge::TriangulatedSphere
friend class TriangulatedSphere
Definition triangleEdge.h:58
BALL::TriangleEdge::setTriangle
void setTriangle(Position i, Triangle *triangle)
BALL::TriangleEdge::TriangulatedSurface
friend class TriangulatedSurface
Definition triangleEdge.h:57
BALL::TriangleEdge::TriangulatedSAS
friend class TriangulatedSAS
Definition triangleEdge.h:60
BALL::TriangleEdge::TriangulatedSES
friend class TriangulatedSES
Definition triangleEdge.h:59
BALL::TriangleEdge::Triangle
friend class Triangle
Definition triangleEdge.h:55
BALL::TriangleEdge::TriangleEdge
TriangleEdge()
BALL::TriangleEdge::setPoint
void setPoint(Position i, TrianglePoint *point)
BALL::TriangleEdge::getTriangle
Triangle * getTriangle(Position i) const
BALL::TrianglePoint
Definition trianglePoint.h:43
BALL::Triangle
Definition triangle.h:39
BALL::TriangulatedSAS
Definition triangulatedSAS.h:63
BALL::TriangulatedSES
Definition triangulatedSES.h:55
BALL::TriangulatedSphere
Definition triangulatedSurface.h:388
BALL::TriangulatedSurface
Definition triangulatedSurface.h:41
BALL_CREATE
#define BALL_CREATE(name)
Definition create.h:62
graphEdge.h
graphFace.h
graphVertex.h
BALL
Definition constants.h:13
BALL::Position
BALL_SIZE_TYPE Position
Definition COMMON/global.h:140
std
STL namespace.