Class CM3Geo extends CMGeo
CM3Geo Class
Handles the geospatial display of data in a 3D scene. Unlike a CMGeo, the 3d geo does not
have a background so it does not have any rendering styles.
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
Object Functions
Inherited From: CMGeo
Returns | Function | Throws |
---|---|---|
ProjectFromGeographic(TheProjector) | ||
GetNormalFromGeographic(Long, Lat) |
Object Functions
ProjectFromGeographic(TheProjector)
Set the projection for coordinate conversion
Parameters:
TheProjector - the projector to use to project coordinates
GetNormalFromGeographic(Long, Lat)
Returns a THREE.Vector3 that contains the normal for the specified geographic coordinate.
This can be used to determine the appropriate rotation for an object on the surface of the earth
Parameters:
Long - the longitude of the coordinate
Lat - the lattiude of the coordinate