ProjectionBNG

ProjectionBNG object.

Constructors

Link copied to clipboard
constructor()
constructor(address: Long)
constructor(easting: Double, northing: Double)
constructor(reference: String)

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

Grid reference for the projection

Link copied to clipboard
open override val type: EProjectionType

Get the projection type

Functions

Link copied to clipboard
external fun equals(other: Projection): Boolean

Check if two projection are equal

Link copied to clipboard
fun finalize()

Overrides finalize that garbage collector will call when needed.

Link copied to clipboard
external fun getEasting(): Double

Get easting for the projection

Link copied to clipboard
external fun getNorthing(): Double

Get northing for the projection

Link copied to clipboard
external fun isDefault(): Boolean

Check if this is a default object (nothing was modified on it since creation)

Link copied to clipboard
external fun isEmpty(): Boolean

Check empty projection

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
external fun reset()

Reset the object to default

Link copied to clipboard
external fun set(easting: Double, northing: Double)

Set the fields for projection