#include <ogr_geometry.h>
Inheritance diagram for OGRLinearRing:
Public Member Functions | |
virtual const char * | getGeometryName () |
virtual OGRGeometry * | clone () |
virtual int | isClockwise () |
virtual int | WkbSize () |
virtual OGRErr | importFromWkb (unsigned char *, int=-1) |
virtual OGRErr | exportToWkb (OGRwkbByteOrder, unsigned char *) |
Friends | |
class | OGRPolygon |
This class is functionally equivelent to an OGRLineString, but has a separate identity to maintain alignment with the OpenGIS simple feature data model. It exists to serve as a component of an OGRPolygon.
|
Make a copy of this object. This method relates to the SFCOM IGeometry::clone() method. This method is the same as the C function OGR_G_Clone().
Reimplemented from OGRLineString. |
|
Convert a geometry into well known binary format. This method relates to the SFCOM IWks::ExportToWKB() method. This method is the same as the C function OGR_G_ExportToWkb().
Reimplemented from OGRLineString. |
|
Fetch WKT name for geometry type. There is no SFCOM analog to this method. This method is the same as the C function OGR_G_GetGeometryName().
Reimplemented from OGRLineString. |
|
Assign geometry from well known binary data. The object must have already been instantiated as the correct derived type of geometry object to match the binaries type. This method is used by the OGRGeometryFactory class, but not normally called by application code. This method relates to the SFCOM IWks::ImportFromWKB() method. This method is the same as the C function OGR_G_ImportFromWkb().
Reimplemented from OGRLineString. |
|
Returns TRUE if the ring has clockwise winding.
|
|
Returns size of related binary representation. This method returns the exact number of bytes required to hold the well known binary representation of this geometry object. Its computation may be slightly expensive for complex geometries. This method relates to the SFCOM IWks::WkbSize() method. This method is the same as the C function OGR_G_WkbSize().
Reimplemented from OGRLineString. |