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

OGRSurface Class Reference

#include <ogr_geometry.h>

Inheritance diagram for OGRSurface:

OGRGeometry OGRPolygon List of all members.

Public Member Functions

virtual double get_Area ()=0
virtual OGRErr Centroid (OGRPoint *poPoint)=0
virtual OGRErr PointOnSurface (OGRPoint *poPoint)=0

Detailed Description

Abstract base class for 2 dimensional objects like polygons.


Member Function Documentation

OGRErr OGRSurface::Centroid OGRPoint poPoint  )  [pure virtual]
 

Compute and return centroid of surface. The centroid is not necessarily within the geometry.

This method relates to the SFCOM ISurface::get_Centroid() method.

NOTE: Currently not implemented.

Parameters:
poPoint point to be set with the centroid location.
Returns:
OGRERR_NONE if it succeeds or OGRERR_FAILURE otherwise.

Implemented in OGRPolygon.

double OGRSurface::get_Area  )  [pure virtual]
 

Get the area of the surface object.

This method relates to the SFCOM ISurface::get_Area() method.

NOTE: Currently not implemented.

Returns:
the area of the feature in square units of the spatial reference system in use.

Implemented in OGRPolygon.

OGRErr OGRSurface::PointOnSurface OGRPoint poPoint  )  [pure virtual]
 

This method relates to the SFCOM ISurface::get_PointOnSurface() method.

NOTE: Currently not implemented.

Parameters:
poPoint point to be set with an internal point.
Returns:
OGRERR_NONE if it succeeds or OGRERR_FAILURE otherwise.

Implemented in OGRPolygon.


The documentation for this class was generated from the following files:
Generated on Thu Nov 13 00:07:07 2003 for OGR by doxygen 1.3.4