GeoRect | iOS SDK | Urbi Documentation

GeoRect

Rectangular area in a spherical coordinate system (e.g. WGS84). This structure is not tied to a specific geodetic coordinate system.

public init(
    southWestPoint: GeoPoint,
    northEastPoint: GeoPoint
)
Parameters
southWestPoint
northEastPoint
Methods
Properties

Southwest point, bottom left border of rectangle.

Northeast point, top right of rectangle.

Checks rectangle for correctness.

Checks the rectangle for degeneracy. If the points in the rectangle are equal, the rectangle is degenerate to a point. A degenerate rectangle is a correct rectangle. An incorrect rectangle is not degenerate.