Coordinate Bounds
A rectangular area as measured on a two-dimensional map projection.
Constructors
Link copied to clipboard
open fun CoordinateBounds(@NonNull southwest: Point, @NonNull northeast: Point, infiniteBounds: Boolean)
Link copied to clipboard
Functions
Link copied to clipboard
Returns the center coordinate of the bounds.
Link copied to clipboard
Constrains `point` against the bounds.
Link copied to clipboard
Returns whether the bounds contains `point` or not.
Returns whether the bounds contains `area` or not.
Link copied to clipboard
Returns whether the bounds contains `latitude` or not.
Link copied to clipboard
Returns whether the bounds contains `longitude` or not.
Link copied to clipboard
Returns whether the bounds cross the date line or not.
Link copied to clipboard
Returns the eastern longitude of the bounds.
Link copied to clipboard
Extends these bounds to include `point`.
Extends these bounds to include `area`.
Link copied to clipboard
Returns the convex hull of two points; the smallest bounds that contains both.
Link copied to clipboard
Returns whether the bounds intersects `area` or not.
Link copied to clipboard
Returns whether the bounds are infinite or bounded.
Link copied to clipboard
Returns whether the bounds are empty or not.
Link copied to clipboard
Returns whether the bounds are valid or not.
Link copied to clipboard
Returns the absolute distance, in degrees, between the north and south boundaries of these bounds.
Link copied to clipboard
Returns the absolute distance, in degrees, between the west and east boundaries of these bounds.
Link copied to clipboard
Returns the northern latitude of the bounds.
Link copied to clipboard
Returns the northwest coordinate of the bounds.
Link copied to clipboard
Returns the bounds consisting of the single point.
Link copied to clipboard
Returns the southern latitude of the bounds.
Link copied to clipboard
Returns the southeast coordinate of the bounds.
Link copied to clipboard
Returns the western longitude of the bounds.
Link copied to clipboard
Returns a bounds covering the entire (unwrapped) world.