GKProjection class Projections
Grid (Gauss-Krüger) projection representation.
The Gauss-Kruger projection is a cylindrical map projection that is commonly used for large-scale mapping in regions with a north-south orientation. It divides the Earth into zones, each with its own coordinate system, allowing for accurate representation of geographic features.
The Gauss-Kruger projection is currently supported only for countries that use Bessel ellipsoid. Trying to convert to and from Gauss-Kruger projection for other countries will result in a GemError.notSupported error.
See also:
- ProjectionService — Utilities to convert between projection types.
- Inheritance
-
- Object
- Projection
- GKProjection
Constructors
- GKProjection.new({required double x, required double y, required int zone})
-
Creates a new GKProjection.
factory
- GKProjection.init(int id)
Properties
- easting → double
-
Easting (horizontal) coordinate.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- northing → double
-
Northing (vertical) coordinate.
no setter
- pointerId → int
-
The pointer ID of the native object
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → ProjectionType
-
The projection type for this instance.
no setterinherited
- zone → int
-
GK zone number.
no setter
Methods
-
dispose(
) → void -
Disposes the native object.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerAutoReleaseObject(
int pointerId) → void -
Registers an object for auto release.
inherited
-
setFields(
{required double x, required double y, required int zone}) → void - Update the coordinate fields of this GK point.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited