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