I suspect that if you need speed, you should process the outer ring with
methods from the Angle class. But for brute force, you could just compare
the polygon to its convexHull.
From: Shahak Nagiel <[email protected]>
To: "[email protected]"
<[email protected]>
Date: 02/11/2016 06:36 a.m.
Subject: [Jts-topo-suite-user] Concave
Is there anything in JTS that determines whether a geometry (polygon)
contains a concave angle? (Or, conversely, whether a polygon is convex?)
Thanks.
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Jts-topo-suite-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user
Notice: This email and any attachments are confidential
and may not be used, published or redistributed
without the prior written consent of the
Institute of Geological and Nuclear Sciences Limited (GNS Science).
If received in error please destroy and immediately notify GNS Science.
Do not copy or disclose the contents.
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Jts-topo-suite-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user