Class GeoLinearRing

java.lang.Object
com.azure.core.models.GeoLinearRing

public final class GeoLinearRing extends Object
Represents a linear ring that is part of a GeoPolygon.
  • Constructor Details

    • GeoLinearRing

      public GeoLinearRing(List<GeoPosition> coordinates)
      Constructs a new linear ring with the passed coordinates.
      Parameters:
      coordinates - The coordinates of the linear ring.
      Throws:
      NullPointerException - If coordinates is null.
      IllegalArgumentException - If coordinates has less than 4 elements or the first and last elements aren't equivalent.
  • Method Details