Skip to content

webdggrid / orientationPreset

Function: orientationPreset() ​

orientationPreset(preset): object

Defined in: webdggrid.ts:315

Returns the poleCoordinates and azimuth of a named orientation.

Parameters ​

preset ​

OrientationPreset

Returns ​

object

azimuth ​

azimuth: number

poleCoordinates ​

poleCoordinates: Coordinate

Example ​

ts
dggs.setDggs({ ...orientationPreset(OrientationPreset.DYMAXION),
               aperture: 7, topology: Topology.HEXAGON,
               projection: Projection.GNOMONIC }, 5);