#include <geom.h>

Public Member Functions | |
| virtual vector< Point * > | discrete (double resolution)=0 |
| virtual bool | contains (Point *p)=0 |
| virtual void | add (Point *p)=0 |
| virtual vector<Point*> Region::discrete | ( | double | resolution | ) | [pure virtual] |
Turn the defined region into a discrete set of points, using resolution to describe the level of detail.
| resolution | Level of spacing (detail) between the discrete points to be created. Value in kilometers. |
Implemented in RegionArea, and RegionLine.
| virtual bool Region::contains | ( | Point * | p | ) | [pure virtual] |
Check if this region contains the given point.
| p | Point to check against |
Implemented in RegionArea, and RegionLine.
| virtual void Region::add | ( | Point * | p | ) | [pure virtual] |
Add the given Point to this Region, expanding the region as needed so that contains(p) returns true.
| p | The point to include in this region |
Implemented in RegionArea, and RegionLine.
1.5.4