|
GEOS 3.15.0dev
|
#include <PathString.h>
Public Member Functions | |
| PathString (const void *p_context=nullptr) | |
| virtual std::size_t | getSize () const =0 |
| virtual double | getLength () const =0 |
| 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 const std::shared_ptr< const geom::CoordinateSequence > & | getCoordinates () const =0 |
| Return a pointer to the CoordinateSequence associated with this PathString. | |
Static Public Member Functions | |
| static std::vector< PathString * > | toRawPointerVector (const std::vector< std::unique_ptr< PathString > > &segStrings) |
A PathString represents a contiguous line/arc to be used as an input or output of a noding process.
|
pure virtual |
Return a pointer to the CoordinateSequence associated with this PathString.
Implemented in geos::noding::ArcString, and geos::noding::SegmentString.
|
inline |
Gets the user-defined data for this segment string.
|
inline |
Sets the user-defined data for this segment string.
| data | an Object containing user-defined data |