MeshKit  1.0
AF2Edge3D Class Reference

#include <AF2Edge3D.hpp>

List of all members.

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.
AF2Point3DgetStart () const
 Get a pointer to the starting endpoint of the edge.
AF2Point3DgetEnd () 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

AF2Point3DstartPnt
AF2Point3DendPnt
unsigned int qualityLevel
QualityDecreaseObserverobserver

Detailed Description

Definition at line 23 of file AF2Edge3D.hpp.


Constructor & Destructor Documentation

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.

Parameters:
startthe starting endpoint of the edge
endthe ending endpoint of the edge.

Definition at line 9 of file AF2Edge3D.cpp.


Member Function Documentation

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.

Returns:
the current quality level

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.

Parameters:
observerArgan observer that desires to be notified when this edge's quality decreases

Definition at line 39 of file AF2Edge3D.cpp.


Member Data Documentation

AF2Point3D* endPnt [private]

Definition at line 28 of file AF2Edge3D.hpp.

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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines