[gdal-dev] Ogr: Is an OGR::Geometry::InteriorPoint() method ?

Ari Jolma ari.jolma at gmail.com
Thu Aug 16 05:20:53 PDT 2012


On 08/16/2012 03:09 PM, Even Rouault wrote:
> Selon Benjamin <benjamin.lux at maxsea.fr>:
>
> > For example, with JTS (Java Topologie Suite) we can obtain an interior point (0.5 2.5).
> Do you know the name of the JTS method ? It might also exist in GEOS, the C++
> port of JTS that GDAL relies on to do geometry related computations.

http://geos.osgeo.org/doxygen/classgeos_1_1algorithm_1_1InteriorPointArea.html 
describes geos::algorithm::InteriorPointArea Class, which can be used to 
obtain an interior point of an area.

Ari



More information about the gdal-dev mailing list