#include <simpleboundary_3.h>
Inheritance diagram for afl::SimpleBoundary_3:
Public Member Functions | |
SimpleBoundary_3 (const Point &from, const Point &to, bool colour) | |
virtual | ~SimpleBoundary_3 () |
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_3 * | clone () |
virtual Point | findNearest (const Point &p) const |
virtual Value | getNormal (const Point &p) const |
Protected Member Functions | |
virtual int | whereIs (const Point &p) const |
virtual bool | intersectSegment (const Point &from, const Point &to) const |
|
Creates a new boundary segment
|
|
desructor is virtual |
|
adds a segment of the opposite colour.
Reimplemented from afl::Boundary_3. |
|
adds a segment of the opposite colour.
Reimplemented from afl::Boundary_3. |
|
Reimplemented from afl::Boundary_3. |
|
finds the nearest point on the boundary to a point.
Reimplemented from afl::Boundary_3. |
|
Reimplemented from afl::Boundary_3. |
|
Reimplemented from afl::Boundary_3. |
|
finds the vector normal to the boundary at a point p on the boundary
Reimplemented from afl::Boundary_3. |
|
Finds the distance from a point to the boundary in the direction of a vector.
Reimplemented from afl::Boundary_3. |
|
Reimplemented from afl::Boundary_3. |
|
Reimplemented from afl::Boundary_3. |
|
represents the segment as an XML string that will be put onto doc
Reimplemented from afl::Boundary_3. |
|
Reimplemented from afl::Boundary_3. |