MeshKit
1.0
|
#include <AF2Edge3D.hpp>
Public Member Functions | |
AF2Edge3D (AF2Point3D *start, AF2Point3D *end) | |
Constructor. | |
void | decreaseQuality () |
Decrease the required quality of future attempts to advance the front using this edge as the baseline edge. | |
AF2Point3D * | getStart () const |
Get a pointer to the starting endpoint of the edge. | |
AF2Point3D * | getEnd () const |
Get a pointer to the ending endpoint of the edge. | |
unsigned int | getQualityLevel () const |
Get the current quality level of this advancing front edge. | |
void | setObserver (QualityDecreaseObserver *observerArg) |
Set this edge's quality decrease observer. | |
Private Attributes | |
AF2Point3D * | startPnt |
AF2Point3D * | endPnt |
unsigned int | qualityLevel |
QualityDecreaseObserver * | observer |
Definition at line 23 of file AF2Edge3D.hpp.
AF2Edge3D | ( | AF2Point3D * | start, |
AF2Point3D * | end | ||
) |
Constructor.
Construct an edge between the two specified points. The context is responsible for maintaining the validity of the pointers to the points as long as this AF2Edge3D (or somy copy of it) is in use.
start | the starting endpoint of the edge |
end | the ending endpoint of the edge. |
Definition at line 9 of file AF2Edge3D.cpp.
void decreaseQuality | ( | ) |
Decrease the required quality of future attempts to advance the front using this edge as the baseline edge.
This method increments the quality level, since a higher value for the quality level indicates lower quality requirements.
Definition at line 15 of file AF2Edge3D.cpp.
AF2Point3D * getEnd | ( | ) | const |
Get a pointer to the ending endpoint of the edge.
Definition at line 29 of file AF2Edge3D.cpp.
unsigned int getQualityLevel | ( | ) | const |
Get the current quality level of this advancing front edge.
Higher numbers for the quality level correspond to lower requirements on the quality of advancing the front when this edge is the baseline edge.
Definition at line 34 of file AF2Edge3D.cpp.
AF2Point3D * getStart | ( | ) | const |
Get a pointer to the starting endpoint of the edge.
Definition at line 24 of file AF2Edge3D.cpp.
void setObserver | ( | QualityDecreaseObserver * | observerArg | ) |
Set this edge's quality decrease observer.
The intended use of this method is for the advancing front to observe quality decreases to the edges that are on the advancing front. The method is public as an implementation artifact, but users should not call this method.
This object does not take ownership of the observer.
observerArg | an observer that desires to be notified when this edge's quality decreases |
Definition at line 39 of file AF2Edge3D.cpp.
AF2Point3D* endPnt [private] |
Definition at line 28 of file AF2Edge3D.hpp.
QualityDecreaseObserver* observer [private] |
Definition at line 30 of file AF2Edge3D.hpp.
unsigned int qualityLevel [private] |
Definition at line 29 of file AF2Edge3D.hpp.
AF2Point3D* startPnt [private] |
Definition at line 27 of file AF2Edge3D.hpp.