An interface for classes which represent a sequence of contiguous line segments.
More...
|
| | SegmentString (const void *newContext) |
| | Construct a SegmentString.
|
| |
| const void * | getData () const |
| | Gets the user-defined data for this segment string.
|
| |
| void | setData (const void *data) |
| | Sets the user-defined data for this segment string.
|
| |
|
virtual std::size_t | size () const =0 |
| |
|
virtual const geom::Coordinate & | getCoordinate (std::size_t i) const =0 |
| |
| virtual geom::CoordinateSequence * | getCoordinates () const =0 |
| | Return a pointer to the CoordinateSequence associated with this SegmentString.
|
| |
|
virtual bool | isClosed () const =0 |
| |
|
virtual std::ostream & | print (std::ostream &os) const |
| |
An interface for classes which represent a sequence of contiguous line segments.
SegmentStrings can carry a context object, which is useful for preserving topological or parentage information.