Class CMProjector extends CMBase
CMProjector Base class.
This class defines the main functions for projectors to convert between projected and
geographic coordinates.
This class also provides a projector that can be used to keep geographic data as geographic
data. In otherwords, it does not touch the data and assumes the data is in geographic. This
allows it to work with layers like the graticule layer.
Copyright (C) 2020, Humboldt State University, Jim Graham
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General
Public License as published by the Free Software Foundation, either version 3 of the License, or (at your
option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see
Static Functions
Returns | Function | Throws |
---|---|---|
angle | DegreesToRadians(-) | |
angle | RadiansToDegrees(-) |
Object Functions
Inherited From: CMBase
Returns | Function | Throws |
---|---|---|
ProjectToGeographic(Easting, Northing, Elevation) | ||
ProjectFromGeographic(Longitude, Latitude, Elevation) | ||
GetClippingPolys() | ||
An | ProjectPolyFromGeographic(ThePoly) | |
An | ProjectAreaFromGeographic(TheArea, TheType) | |
An | ProjectRegionFromGeographic(TheRegion, TheType) | |
An | ProjectRegionsFromGeographic(TheRegion, TheType) |
Static Functions
angle=DegreesToRadians(-)
Convert an angle in degrees to radians
Parameters:
- DegreeAngle
Returns: angle - in radians
angle=RadiansToDegrees(-)
Convert an angle in radians to degrees
Parameters:
- RadianAngle
Returns: angle - in degrees