Class GeoLineString


  • public final class GeoLineString
    extends GeoObject
    Represents a geometric line.
    • Constructor Detail

      • GeoLineString

        public GeoLineString​(List<GeoPosition> positions)
        Constructs a geometric line.
        Parameters:
        positions - Geometric positions that define the line.
        Throws:
        NullPointerException - If positions is null.
      • GeoLineString

        public GeoLineString​(List<GeoPosition> positions,
                             GeoBoundingBox boundingBox,
                             Map<String,​Object> customProperties)
        Constructs a geometric line.
        Parameters:
        positions - Geometric positions that define the line.
        boundingBox - Bounding box for the line.
        customProperties - Additional properties of the geometric line.
        Throws:
        NullPointerException - If positions is null.