57 Edge2D(
int node1,
int node2);
double giveOuterAlphaBound()
Returns the outer limit.
void setOuterAlphaBound(double alphaMin)
Sets the outer limit.
void setSharing(int n, DelaunayTriangle *pTE)
Stores DelaunayTriangle sharing the receiver.
DelaunayTriangle * giveShared(int n)
Returns DelaunayTriangle sharing receiver.
void setHullFlag(bool flag)
Sets the convex hull property.
AlphaEdge2D(int node1, int node2, double _length)
Constructor.
bool giveHullFlag()
Returns true if the edge lies on convex hull, false otherwise.
DelaunayTriangle * sharedByTriangles[2]
Triangles which share the alphaEdge.
double outerAlphaBound
Bottom (outer) limit for alpha shape, for smaller values of alpha the edge lies outside.
double length
Length of edge is stored in order to allow variable alpha value.
bool isOnConvexHull
Convex hull flag means edge is not shared by two triangle.
double innerAlphaBound
Top (inner) limit for alpha shape, for greater values of alpha the edge lies inside of the shape.
double giveLength()
Returns length of the receiver.
void setInnerAlphaBound(double alphaMax)
Sets the inner limit.
virtual ~AlphaEdge2D()
Destructor.
double giveInnerAlphaBound()
Returns the inner limit.
Edge2D(int node1, int node2)
Constructor.
virtual ~Edge2D()
Destructor.
std ::pair< int, int > nodeNumbers
Global node numbers.
int giveSecondNodeNumber()
Gives the number of the second node.
virtual bool operator==(const Edge2D &right)
Compares receiver with passed Edge2D. Returns true if node numbers are equal, false otherwise.
int giveFirstNodeNumber()
Gives the number of the first node.