Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | Related Pages

geos::operation::buffer::OffsetSegmentString Class Reference

A dynamic list of the vertices in a constructed offset curve. More...

#include <OffsetSegmentString.h>

List of all members.

Public Member Functions

void reset ()
void setPrecisionModel (const geom::PrecisionModel *nPrecisionModel)
void setMinimumVertexDistance (double nMinVertexDistance)
void addPt (const geom::Coordinate &pt)
void addPts (const geom::CoordinateSequence &pts, bool isForward)
void closeRing ()
 add the startpoint again if they are not
geom::CoordinateSequencegetCoordinates ()
 Get coordinates by taking ownership of them.
int size () const

Friends

std::ostream & operator<< (std::ostream &os, const OffsetSegmentString &node)


Detailed Description

A dynamic list of the vertices in a constructed offset curve.

Automatically removes close vertices which are closer than a given tolerance.

Author:
Martin Davis


Member Function Documentation

geom::CoordinateSequence* geos::operation::buffer::OffsetSegmentString::getCoordinates void   )  [inline]
 

Get coordinates by taking ownership of them.

After this call, the coordinates reference in this object are dropped. Calling twice will segfault...

FIXME: refactor memory management of this


The documentation for this class was generated from the following file:
Generated on Fri Nov 16 16:52:54 2012 for GEOS by  doxygen 1.3.9.1