geos::algorithm::InteriorPointArea Class Reference

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

#include <InteriorPointArea.h>

List of all members.

Public Member Functions

 InteriorPointArea (const geom::Geometry *g)
bool getInteriorPoint (geom::Coordinate &ret) const

Detailed Description

Computes a point in the interior of an areal 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.


Constructor & Destructor Documentation

geos::algorithm::InteriorPointArea::InteriorPointArea ( const geom::Geometry g  ) 

Creates a new interior point finder for an areal geometry.

Parameters:
g an areal geometry

Member Function Documentation

bool geos::algorithm::InteriorPointArea::getInteriorPoint ( geom::Coordinate ret  )  const

Gets the computed interior point.

Returns:
the coordinate of an interior point

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

Generated on 2 Apr 2015 for GEOS by  doxygen 1.6.1