GeographicArea

GeographicArea object. This object represents a geographical area on the surface of a WGS 84 Ellipsoid. In the calculations related to these geographical areas the altitude information contained in the All geographical areas deal with Coordinates objects.

Inheritors

Constructors

Link copied to clipboard
constructor(address: Long)
constructor(address: Long, isRef: Boolean)

Properties

Link copied to clipboard

Address of native referenced object. nullptr if not referencing any native allocated object. Note native allocation will happen only once.

Link copied to clipboard

Bounding box. This is the smallest rectangle that can be drawn around the area such that it surrounds this geographic area completely. If the area is bigger than what is allowed in the WGS 84 coordinate system, the rectangle is truncated to valid WGS 84 coordinate values. The RectangleGeographicArea is always aligned with parallels and meridians.

Link copied to clipboard

Center of the geographic area.

Link copied to clipboard

Type of the geographic area.

Functions

Link copied to clipboard
open external fun containsCoordinates(value: Coordinates): Boolean

Check if the provided point is contained by the geographic area.

Link copied to clipboard
open external fun convert(area: GeographicArea): Int

Convert to area of the given type

Link copied to clipboard
open external fun equalsTo(value: GeographicArea): Boolean

Check if two geographic areas are equal.

Link copied to clipboard
fun finalize()

Overrides finalize that garbage collector will call when needed.

Link copied to clipboard
open external fun isDefault(): Boolean

Returns true if this is a default geographic area and false otherwise.

Link copied to clipboard
open external fun isEmpty(): Boolean

Check empty area

Link copied to clipboard

True if keeps a reference to a C++ SDK object False if keeps a C++ SDK object

Link copied to clipboard
operator fun not(): Boolean

Checks if this object is valid.

Link copied to clipboard
fun release()

Releases the native referenced value of this object if:

Link copied to clipboard
open external fun reset()

Resets the object to default