GDAL
OGRPointIterator Class Referenceabstract

Interface for a point iterator. More...

#include <ogr_geometry.h>

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.

Member Function Documentation

◆ getNextPoint()

virtual OGRBoolean OGRPointIterator::getNextPoint ( OGRPoint * p)
pure virtual

Returns the next point followed by the iterator.

Parameters
ppoint to fill.
Returns
TRUE in case of success, or FALSE if the end of the curve is reached.

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