Class BTEDymaxionProjection
java.lang.Object
net.buildtheearth.terraminusminus.projection.dymaxion.DymaxionProjection
net.buildtheearth.terraminusminus.projection.dymaxion.ConformalDynmaxionProjection
net.buildtheearth.terraminusminus.projection.dymaxion.BTEDymaxionProjection
- All Implemented Interfaces:
GeographicProjection
Implementation of the BTE modified Dynmaxion projection.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.buildtheearth.terraminusminus.projection.GeographicProjection
GeographicProjection.Deserializer, GeographicProjection.Serializer -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleFields inherited from class net.buildtheearth.terraminusminus.projection.dymaxion.ConformalDynmaxionProjection
inverse, INVERSE_CACHE, SIDE_LENGTH, VECTOR_SCALE_FACTORFields inherited from class net.buildtheearth.terraminusminus.projection.dymaxion.DymaxionProjection
ARC, CENTER_MAP, CENTROIDS, DVE, EL, EL6, FACE_ON_GRID, FLIP_TRIANGLE, INVERSE_ROTATION_MATRICES, ISO, R, ROTATION_MATRICES, VERTICES, Z -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble[]bounds()Indicates the minimum and maximum X and Y coordinates on the projected space.double[]fromGeo(double longitude, double latitude) Converts geographic coordinates to map coordinatesprotected booleanisEurasianPart(double x, double y) double[]toGeo(double x, double y) Converts map coordinates to geographic coordinatestoString()Methods inherited from class net.buildtheearth.terraminusminus.projection.dymaxion.ConformalDynmaxionProjection
inverseTriangleTransform, metersPerUnit, triangleTransformMethods inherited from class net.buildtheearth.terraminusminus.projection.dymaxion.DymaxionProjection
findTriangle, findTriangleGrid, inverseTriangleTransformNewton, upright, yRotMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.buildtheearth.terraminusminus.projection.GeographicProjection
azimuth, azimuth, properties, tissot, tissot, vector
-
Field Details
-
THETA
protected static final double THETA -
SIN_THETA
protected static final double SIN_THETA -
COS_THETA
protected static final double COS_THETA -
BERING_X
protected static final double BERING_X- See Also:
-
BERING_Y
protected static final double BERING_Y- See Also:
-
ARCTIC_Y
protected static final double ARCTIC_Y- See Also:
-
ARCTIC_M
protected static final double ARCTIC_M -
ARCTIC_B
protected static final double ARCTIC_B -
ALEUTIAN_Y
protected static final double ALEUTIAN_Y- See Also:
-
ALEUTIAN_XL
protected static final double ALEUTIAN_XL- See Also:
-
ALEUTIAN_XR
protected static final double ALEUTIAN_XR- See Also:
-
ALEUTIAN_M
protected static final double ALEUTIAN_M- See Also:
-
ALEUTIAN_B
protected static final double ALEUTIAN_B- See Also:
-
-
Constructor Details
-
BTEDymaxionProjection
public BTEDymaxionProjection()
-
-
Method Details
-
fromGeo
Description copied from interface:GeographicProjectionConverts geographic coordinates to map coordinates- Specified by:
fromGeoin interfaceGeographicProjection- Overrides:
fromGeoin classDymaxionProjection- Parameters:
longitude- - longitude, in degreeslatitude- - latitude, in degrees- Returns:
- {x, y} map coordinates
- Throws:
OutOfProjectionBoundsException- if the specified point on the geographic space cannot be mapped to a point of the projected space
-
toGeo
Description copied from interface:GeographicProjectionConverts map coordinates to geographic coordinates- Specified by:
toGeoin interfaceGeographicProjection- Overrides:
toGeoin classDymaxionProjection- Parameters:
x- - x map coordinatey- - y map coordinate- Returns:
- {longitude, latitude} in degrees
- Throws:
OutOfProjectionBoundsException- if the specified point on the projected space cannot be mapped to a point of the geographic space
-
isEurasianPart
protected boolean isEurasianPart(double x, double y) -
bounds
public double[] bounds()Description copied from interface:GeographicProjectionIndicates the minimum and maximum X and Y coordinates on the projected space.- Specified by:
boundsin interfaceGeographicProjection- Overrides:
boundsin classDymaxionProjection- Returns:
- {minimum X, minimum Y, maximum X, maximum Y}
-
toString
- Overrides:
toStringin classConformalDynmaxionProjection
-