Use ShapeWriter to convert JTS Geometry to AWT Shapes

standard way of getting the shell and hole vertices from a Polygon:

poly.exteriorRing().getCoordinates()
poly.interiorRingN(i).getCoordinates()

On Sat, Jun 20, 2015 at 12:26 AM, Jerry Swan <[email protected]>
wrote:

> How can I convert obtain a java.awt.geom.Area from a JTS Polygon?
>
> I see that there's a jts.awt.PolygonShape from which Area can be obtained,
> so if that's the best option then what's the standard way of getting the
> shell and hole vertices from a Polygon?
>
>
>
------------------------------------------------------------------------------
_______________________________________________
Jts-topo-suite-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user

Reply via email to