OGRPointIterator Class Reference

#include <ogr_geometry.h>

Inheritance diagram for OGRPointIterator:
OGRCompoundCurvePointIterator OGRSimpleCurvePointIterator

List of all members.

Public Member Functions

virtual OGRBoolean getNextPoint (OGRPoint *p)=0
 Returns the next point followed by the iterator.

Static Public Member Functions

static void destroy (OGRPointIterator *)
 Destroys a point iterator.

Detailed Description

Interface for a point iterator.

Since:
GDAL 2.0

Member Function Documentation

void OGRPointIterator::destroy ( OGRPointIterator *  poIter  )  [static]

Destroys a point iterator.

Since:
GDAL 2.0
OGRBoolean OGRPointIterator::getNextPoint ( OGRPoint *  p  )  [pure virtual]

Returns the next point followed by the iterator.

Parameters:
p point to fill.
Returns:
TRUE in case of success, or FALSE if the end of the curve is reached.
Since:
GDAL 2.0

Implemented in OGRCompoundCurvePointIterator, and OGRSimpleCurvePointIterator.

Referenced by OGRCompoundCurve::get_Area(), OGRCompoundCurvePointIterator::getNextPoint(), and OGRCurve::IsConvex().


The documentation for this class was generated from the following files:

Generated for GDAL by doxygen 1.6.1.