#include <SegmentString.h>

Public Types | |
|
typedef std::vector< const SegmentString * > | ConstVect |
|
typedef std::vector < SegmentString * > | NonConstVect |
Public Member Functions | |
| SegmentString (const void *newContext) | |
| Construct a SegmentString. | |
| const void * | getData () const |
| void | setData (const void *data) |
| virtual unsigned int | size () const =0 |
| virtual const geom::Coordinate & | getCoordinate (unsigned int 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 |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const SegmentString &ss) |
SegmentStrings can carry a context object, which is useful for preserving topological or parentage information.
| geos::noding::SegmentString::SegmentString | ( | const void * | newContext | ) | [inline] |
| const void* geos::noding::SegmentString::getData | ( | ) | const [inline] |
Gets the user-defined data for this segment string.
| void geos::noding::SegmentString::setData | ( | const void * | data | ) | [inline] |
Sets the user-defined data for this segment string.
| data | an Object containing user-defined data |
| virtual geom::CoordinateSequence* geos::noding::SegmentString::getCoordinates | ( | ) | const [pure virtual] |
Return a pointer to the CoordinateSequence associated with this SegmentString.
Note that the CoordinateSequence is not owned by this SegmentString!
Implemented in geos::noding::BasicSegmentString, and geos::noding::NodedSegmentString.
1.5.4