Class GeoPoint

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

public final class GeoPoint extends GeoObject
Represents a geometric point.
  • Constructor Details

    • GeoPoint

      public GeoPoint(double longitude, double latitude)
      Constructs a GeoPoint.
      Parameters:
      longitude - The longitudinal position of the point.
      latitude - The latitudinal position of the point.
    • GeoPoint

      public GeoPoint(double longitude, double latitude, Double altitude)
      Constructs a GeoPoint.
      Parameters:
      longitude - The longitudinal position of the point.
      latitude - The latitudinal position of the point.
      altitude - The altitude of the point.
    • GeoPoint

      public GeoPoint(GeoPosition position)
      Constructs a geometric point.
      Parameters:
      position - The geometric position of the point.
      Throws:
      NullPointerException - If position is null.
    • GeoPoint

      public GeoPoint(GeoPosition position, GeoBoundingBox boundingBox, Map<String,Object> customProperties)
      Constructs a geometric point.
      Parameters:
      position - The geometric position of the point.
      boundingBox - Bounding box for the point.
      customProperties - Additional properties of the geometric point.
      Throws:
      NullPointerException - If position is null.
  • Method Details