API / geotoolkit / map / coordinatesystems / LatLonTransformer / LatLonTransformer
coordinatesystems.LatLonTransformer.LatLonTransformer
Used to transform points to lat/lon coordinate system.
↳
LatLonTransformer
Constructors
Methods
Constructors
• new LatLonTransformer(initSystem)
| Name | Type | Description |
|---|---|---|
initSystem | InitSystem | options to specify transformer or initial coordinate system |
Transformer.constructor
Methods
▸ getClassName(): string
string
▸ getInitialCoordinateSystem(): AbstractSystem
Gets initial coordinate system
Transformer.getInitialCoordinateSystem
▸ getTargetCoordinateSystem(): AbstractSystem
Gets target coordinate system
Transformer.getTargetCoordinateSystem
▸ setInitialCoordinateSystem(system): LatLonTransformer
Sets initial coordinate system
| Name | Type | Description |
|---|---|---|
system | string | AbstractSystem | initial coordinate system |
this
Transformer.setInitialCoordinateSystem
▸ setTargetCoordinateSystem(system): LatLonTransformer
Sets target coordinate system
| Name | Type | Description |
|---|---|---|
system | string | AbstractSystem | target coordinate system |
this
Transformer.setTargetCoordinateSystem
▸ transform<T>(source, dst?): T
Returns transformed point, rectangle or polygonal geometry object
| Name | Type |
|---|---|
T | extends Point | Rect | PolygonGeometry |
| Name | Type | Description |
|---|---|---|
source | T | origin to be transformed |
Optional dst | T | optional destination object |
T
▸ transformPoint(point, dst?): Point
Return transformed point
▸ transformPolygon(geometry, dst?): PolygonGeometry
Returns transformed polygonal geometry object
| Name | Type | Description |
|---|---|---|
geometry | PolygonGeometry | polygonal geometry object to transform |
Optional dst | PolygonGeometry | optional destination geometry |
▸ transformRect(rect, dst?): Rect
Returns transformed rectangle
▸ Static getClassName(): string
string