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

geos::algorithm::InteriorPointArea Class Reference

Computes a point in the interior of an area geometry. More...

#include <InteriorPointArea.h>

List of all members.

Public Member Functions

 InteriorPointArea (const geom::Geometry *g)
bool getInteriorPoint (geom::Coordinate &ret) const
void addPolygon (const geom::Geometry *geometry)
 Finds a reasonable point at which to label a Geometry.


Detailed Description

Computes a point in the interior of an area geometry.

Algorithm

Note: If a fixed precision model is used, in some cases this method may return a point which does not lie in the interior.


Member Function Documentation

void geos::algorithm::InteriorPointArea::addPolygon const geom::Geometry geometry  ) 
 

Finds a reasonable point at which to label a Geometry.

Parameters:
geometry the geometry to analyze
Returns:
the midpoint of the largest intersection between the geometry and a line halfway down its envelope


The documentation for this class was generated from the following file:
Generated on Thu Jun 11 06:17:02 2009 for GEOS by  doxygen 1.4.4