Class MultiLineString

  • All Implemented Interfaces:
    Geometry<AreaPositions>, Serializable
    Direct Known Subclasses:
    Polygon

    public class MultiLineString
    extends AbstractGeometry<AreaPositions>
    Geometry composed by a collection of LineString.

    GeoJson reference: @see http://geojson.org/geojson-spec.html#multilinestring.

    eg: MultiLineString mls = MultiLineString.of( LineString.of(Point.from(1,2), Point(2,2)), LineString.of(Point.from(2,3), Point(3,3)) )

    TODO Consider adding an abstract parent for this and Polygon.

    See Also:
    Serialized Form