#include <boundary_4.h>
Inheritance diagram for afl::Boundary_4:
Public Member Functions | |
Boundary_4 (const Point &from, const Point &to, bool colour) | |
Boundary_4 (const Field *field, bool colour) | |
Boundary_4 (const Boundary_4 &toCopy) | |
virtual | ~Boundary_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 void | toXML (std::ostream &doc, const std::string &componentsDir, const std::string &baseURI) const |
virtual Boundary_4 * | clone () |
virtual Point | findNearest (const Point &p) const |
virtual Value | getNormal (const Point &p) const |
virtual Point | getBoundingBoxMin () const |
virtual Point | getBoundingBoxMax () const |
Protected Member Functions | |
Boundary_4 () | |
virtual int | whereIs (const Point &p) const |
virtual bool | intersectSegment (const Point &from, const Point &to) const |
Protected Attributes | |
bool | _colour |
std::list< Boundary_4 > | _segments |
Boundary_4 * | _impl |
SimpleBoundary_4
(a rectangular area) or a FieldBoundary_4
(a 3D field of 4D vectors)
|
constructs a proxy to a simple boundary
|
|
constructs a proxy to a field boundary
|
|
copy constructor
|
|
desructor is virtual |
|
empty constructor for children |
|
adds a segment of the opposite colour.
Reimplemented in afl::SimpleBoundary_4. |
|
adds a segment of the opposite colour.
Reimplemented in afl::SimpleBoundary_4. |
|
Reimplemented in afl::SimpleBoundary_4. |
|
finds the nearest point on the boundary to a point.
Reimplemented in afl::SimpleBoundary_4. |
|
Reimplemented in afl::SimpleBoundary_4. |
|
Reimplemented in afl::SimpleBoundary_4. |
|
finds the vector normal to the boundary at a point p on the boundary
Reimplemented in afl::SimpleBoundary_4. |
|
Finds the distance from a point to the boundary in the direction of a vector.
Reimplemented in afl::SimpleBoundary_4. |
|
Reimplemented in afl::SimpleBoundary_4. |
|
Reimplemented in afl::SimpleBoundary_4. |
|
represents the segment as an XML string that will be put onto doc
Reimplemented in afl::SimpleBoundary_4. |
|
Reimplemented in afl::SimpleBoundary_4. |
|
red (island) or black (hole) |
|
the implementation of this proxy |
|
the sub segments within this segment |