Class GeoLineString

java.lang.Object
com.azure.core.models.GeoObject
com.azure.core.models.GeoLineString

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

    • 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.
  • Method Details