Class LinearRing

  • All Implemented Interfaces:
    Geometry

    public class LinearRing
    extends Line
    Represents a closed line on the earth's surface in lat/lon decimal degrees and optional altitude in meters.

    Cannot be serialized by WKT directly but used as a part of polygon

    • Constructor Detail

      • LinearRing

        public LinearRing​(double[] lats,
                          double[] lons)
      • LinearRing

        public LinearRing​(double[] lats,
                          double[] lons,
                          double[] alts)
    • Method Detail

      • visit

        public <T,​E extends java.lang.Exception> T visit​(GeometryVisitor<T,​E> visitor)
                                                        throws E extends java.lang.Exception
        Specified by:
        visit in interface Geometry
        Overrides:
        visit in class Line
        Throws:
        E extends java.lang.Exception