Class CurvedGeometries


  • public class CurvedGeometries
    extends Object
    Utility methods for curved geometries
    Author:
    Andrea Aime - GeoSolutions
    • Constructor Detail

      • CurvedGeometries

        public CurvedGeometries()
    • Method Detail

      • isCurved

        public static boolean isCurved​(Geometry geometry)
        Returns true if the geometry is curved, or contains elements that are curved
      • isCircle

        public static boolean isCircle​(Geometry geom)
        Checks if the specified geometry is a circle
      • getArc

        public static CircularArc getArc​(CoordinateSequence cs,
                                         int startCoordinate)
        Builds a circular arc out of the specified coordinate sequence