|
OOFEM 3.0
|
#include <edge2d.h>
Public Member Functions | |
| AlphaEdge2D (int node1, int node2, double _length) | |
| Constructor. | |
| virtual | ~AlphaEdge2D () |
| Destructor. | |
| void | setOuterAlphaBound (double alphaMin) |
| Sets the outer limit. | |
| void | setInnerAlphaBound (double alphaMax) |
| Sets the inner limit. | |
| double | giveOuterAlphaBound () |
| Returns the outer limit. | |
| double | giveInnerAlphaBound () |
| Returns the inner limit. | |
| void | setHullFlag (bool flag) |
| Sets the convex hull property. | |
| bool | giveHullFlag () |
| Returns true if the edge lies on convex hull, false otherwise. | |
| void | setSharing (int n, DelaunayTriangle *pTE) |
| Stores DelaunayTriangle sharing the receiver. | |
| DelaunayTriangle * | giveShared (int n) |
| Returns DelaunayTriangle sharing receiver. | |
| double | giveLength () |
| Returns length of the receiver. | |
| Public Member Functions inherited from oofem::Edge2D | |
| Edge2D (int node1, int node2) | |
| Constructor. | |
| virtual | ~Edge2D () |
| Destructor. | |
| int | giveFirstNodeNumber () |
| Gives the number of the first node. | |
| 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. | |
Private Attributes | |
| bool | isOnConvexHull |
| Convex hull flag means edge is not shared by two triangle. | |
| double | outerAlphaBound |
| Bottom (outer) limit for alpha shape, for smaller values of alpha the edge lies outside. | |
| double | innerAlphaBound |
| Top (inner) limit for alpha shape, for greater values of alpha the edge lies inside of the shape. | |
| DelaunayTriangle * | sharedByTriangles [2] |
| Triangles which share the alphaEdge. | |
| double | length |
| Length of edge is stored in order to allow variable alpha value. | |
Class for the boundary recognition method - alpha shape. Case 1 - convex hull edge: alpha greater than outerAlphaBound, edge is part of alpha shape. Case 2 - shared edge: alpha greater than innerAlphaBound, edge lies within alpha shape. Alpha between bounds, edge is exactly on alpha shape Alpha smaller than outerAlphaBound, edge lies outside of alpha shape
| oofem::AlphaEdge2D::AlphaEdge2D | ( | int | node1, |
| int | node2, | ||
| double | _length ) |
Constructor.
Definition at line 55 of file edge2d.C.
References oofem::Edge2D::Edge2D(), innerAlphaBound, isOnConvexHull, length, outerAlphaBound, and sharedByTriangles.
|
inline |
Returns true if the edge lies on convex hull, false otherwise.
Definition at line 96 of file edge2d.h.
References isOnConvexHull.
|
inline |
Returns the inner limit.
Definition at line 92 of file edge2d.h.
References innerAlphaBound.
Referenced by oofem::DelaunayTriangulator::computeAlphaComplex().
|
inline |
|
inline |
Returns the outer limit.
Definition at line 90 of file edge2d.h.
References outerAlphaBound.
Referenced by oofem::DelaunayTriangulator::computeAlphaComplex().
|
inline |
Returns DelaunayTriangle sharing receiver.
Definition at line 100 of file edge2d.h.
References sharedByTriangles.
|
inline |
Sets the convex hull property.
Definition at line 94 of file edge2d.h.
References isOnConvexHull.
Referenced by oofem::DelaunayTriangulator::computeAlphaComplex().
|
inline |
Sets the inner limit.
Definition at line 88 of file edge2d.h.
References innerAlphaBound.
Referenced by oofem::DelaunayTriangulator::computeAlphaComplex().
|
inline |
Sets the outer limit.
Definition at line 86 of file edge2d.h.
References outerAlphaBound.
Referenced by oofem::DelaunayTriangulator::computeAlphaComplex().
| void oofem::AlphaEdge2D::setSharing | ( | int | n, |
| DelaunayTriangle * | pTE ) |
Stores DelaunayTriangle sharing the receiver.
Definition at line 70 of file edge2d.C.
References sharedByTriangles.
Referenced by oofem::DelaunayTriangulator::computeAlphaComplex().
|
private |
Top (inner) limit for alpha shape, for greater values of alpha the edge lies inside of the shape.
Definition at line 110 of file edge2d.h.
Referenced by AlphaEdge2D(), giveInnerAlphaBound(), and setInnerAlphaBound().
|
private |
Convex hull flag means edge is not shared by two triangle.
Definition at line 106 of file edge2d.h.
Referenced by AlphaEdge2D(), giveHullFlag(), and setHullFlag().
|
private |
Length of edge is stored in order to allow variable alpha value.
Definition at line 114 of file edge2d.h.
Referenced by AlphaEdge2D(), and giveLength().
|
private |
Bottom (outer) limit for alpha shape, for smaller values of alpha the edge lies outside.
Definition at line 108 of file edge2d.h.
Referenced by AlphaEdge2D(), giveOuterAlphaBound(), and setOuterAlphaBound().
|
private |
Triangles which share the alphaEdge.
Definition at line 112 of file edge2d.h.
Referenced by AlphaEdge2D(), giveShared(), and setSharing().