[geos-devel] using geos C Api
Sandro Santilli
strk at keybit.net
Wed Oct 15 10:09:04 PDT 2014
On Sun, Oct 12, 2014 at 03:04:52PM +0200, Rémi Cura wrote:
> Ok,
> I'll try tomorow using exclusively functions from geos_c.h.
> Is there some kind of example/tutorial arround?
I'm afraid not. All docs are in the header file.
> Another 2 quick questions :
> I would like to perform a polygon/polygon intersection.
> I can't find if there is a shortcut for the case where the two geometry
> are disjoint (in which case the intersection would be empty geom)
> Shall I put myself this kind of shortcut before calling intersection?
You should put yourself this kind of shortcut.
> About the new rectangle shortcuts . Are the rectangle bbox (north/South
> East-West oriented), or are they real rectangle (oriented bbox)?
The rectangle shortcut in Geometry::intersection is disabled at compile time.
Rectangle would not be oriented, anyway, for RectangleIntersection.
--strk;
() Free GIS & Flash consultant/developer
/\ http://strk.keybit.net/services.html
More information about the geos-devel
mailing list