#include <boundary.h>
Inheritance diagram for afl::Boundary:
Public Member Functions | |
Boundary (const Field *field) | |
virtual | ~Boundary () |
virtual troolean | locate (const Point &p) const =0 |
virtual Point | findNearest (const Point &p) const =0 |
virtual Value | getNormal (const Point &p) const =0 |
virtual data_t | intersect (const Point &p, const Point &v) const =0 |
virtual void | addSegment (const Point &from, const Point &to)=0 |
virtual void | addSegment (const Field *field)=0 |
virtual void | toXML (std::ostream &doc, const std::string &componentsDir, const std::string &baseURI) const =0 |
virtual Point | getBoundingBoxMin () const =0 |
virtual Point | getBoundingBoxMax () const =0 |
virtual Boundary * | clone ()=0 |
virtual bool | hasNoSegments () const =0 |
const Field * | getParent () const |
void | setParentField (const Field *parent) |
Protected Attributes | |
const Field * | _field |
|
constructor
|
|
desructor is virtual |
|
adds a segment of the opposite colour.
Implemented in afl::BoundaryTree_1, afl::BoundaryTree_2, afl::BoundaryTree_3, and afl::BoundaryTree_4. |
|
adds a segment of the opposite colour.
Implemented in afl::BoundaryTree_1, afl::BoundaryTree_2, afl::BoundaryTree_3, and afl::BoundaryTree_4. |
|
Implemented in afl::BoundaryTree_1, afl::BoundaryTree_2, afl::BoundaryTree_3, and afl::BoundaryTree_4. |
|
finds the nearest point on the boundary to a point.
Implemented in afl::BoundaryTree_1, afl::BoundaryTree_2, afl::BoundaryTree_3, and afl::BoundaryTree_4. |
|
Implemented in afl::BoundaryTree_1, afl::BoundaryTree_2, afl::BoundaryTree_3, and afl::BoundaryTree_4. |
|
Implemented in afl::BoundaryTree_1, afl::BoundaryTree_2, afl::BoundaryTree_3, and afl::BoundaryTree_4. |
|
finds the vector normal to the boundary at a point p on the boundary
Implemented in afl::BoundaryTree_1, afl::BoundaryTree_2, afl::BoundaryTree_3, and afl::BoundaryTree_4. |
|
|
|
returns true iff the boudndary has no segments. Such boundaries are desirable for example to store boundary conditions without a boundary.
Implemented in afl::BoundaryTree_1, afl::BoundaryTree_2, afl::BoundaryTree_3, and afl::BoundaryTree_4. |
|
Finds the distance from a point to the closest boundary in the direction of a vector.
Implemented in afl::BoundaryTree_1, afl::BoundaryTree_2, afl::BoundaryTree_3, and afl::BoundaryTree_4. |
|
Implemented in afl::BoundaryTree_1, afl::BoundaryTree_2, afl::BoundaryTree_3, and afl::BoundaryTree_4. |
|
sets the parent field of this interpolation
|
|
represents the segment as an XML string that will be put onto doc
Implemented in afl::BoundaryTree_1, afl::BoundaryTree_2, afl::BoundaryTree_3, and afl::BoundaryTree_4. |
|
the field this boundary bounds |