41 class DelaunayTriangle;
57 Edge2D(
int node1,
int node2);
bool giveHullFlag()
Returns true if the edge lies on convex hull, false otherwise.
Class for the boundary recognition method - alpha shape.
Edge class for Delaunay triangulation.
std::pair< int, int > nodeNumbers
Global node numbers.
bool isOnConvexHull
Convex hull flag means edge is not shared by two triangle.
Delaunay triangle for the triangulation of a set of nodes.
double outerAlphaBound
Bottom (outer) limit for alpha shape, for smaller values of alpha the edge lies outside.
DelaunayTriangle * giveShared(int n)
Returns DelaunayTriangle sharing receiver.
virtual bool operator==(const Edge2D &right)
Compares receiver with passed Edge2D. Returns true if node numbers are equal, false otherwise...
int giveSecondNodeNumber()
Gives the number of the second node.
void setInnerAlphaBound(double alphaMax)
Sets the inner limit.
void setHullFlag(bool flag)
Sets the convex hull property.
double giveLength()
Returns length of the receiver.
double giveInnerAlphaBound()
Returns the inner limit.
double giveOuterAlphaBound()
Returns the outer limit.
Edge2D(int node1, int node2)
Constructor.
double length
Length of edge is stored in order to allow variable alpha value.
int giveFirstNodeNumber()
Gives the number of the first node.
the oofem namespace is to define a context or scope in which all oofem names are defined.
void setOuterAlphaBound(double alphaMin)
Sets the outer limit.
double innerAlphaBound
Top (inner) limit for alpha shape, for greater values of alpha the edge lies inside of the shape...
virtual ~Edge2D()
Destructor.