Class ConformalDynmaxionProjection
java.lang.Object
net.buildtheearth.terraminusminus.projection.dymaxion.DymaxionProjection
net.buildtheearth.terraminusminus.projection.dymaxion.ConformalDynmaxionProjection
- All Implemented Interfaces:
GeographicProjection
- Direct Known Subclasses:
BTEDymaxionProjection
Implementation of the Dynmaxion like conformal projection.
Slightly modifies the Dynmaxion projection to make it (almost) conformal.
- 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 final net.buildtheearth.terraminusminus.projection.dymaxion.ConformalDynmaxionProjection.InvertableVectorFieldprotected static final net.daporkchop.lib.common.reference.cache.Cached<net.buildtheearth.terraminusminus.projection.dymaxion.ConformalDynmaxionProjection.InvertableVectorField> protected static final intprotected static final doubleFields 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 TypeMethodDescriptionprotected double[]inverseTriangleTransform(double x, double y) doubleGives an estimation of the scale of this projection.toString()protected double[]triangleTransform(double[] vec) Methods inherited from class net.buildtheearth.terraminusminus.projection.dymaxion.DymaxionProjection
bounds, findTriangle, findTriangleGrid, fromGeo, inverseTriangleTransformNewton, toGeo, 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
-
VECTOR_SCALE_FACTOR
protected static final double VECTOR_SCALE_FACTOR- See Also:
-
SIDE_LENGTH
protected static final int SIDE_LENGTH- See Also:
-
INVERSE_CACHE
protected static final net.daporkchop.lib.common.reference.cache.Cached<net.buildtheearth.terraminusminus.projection.dymaxion.ConformalDynmaxionProjection.InvertableVectorField> INVERSE_CACHE -
inverse
protected final net.buildtheearth.terraminusminus.projection.dymaxion.ConformalDynmaxionProjection.InvertableVectorField inverse
-
-
Constructor Details
-
ConformalDynmaxionProjection
public ConformalDynmaxionProjection()
-
-
Method Details
-
triangleTransform
protected double[] triangleTransform(double[] vec) - Overrides:
triangleTransformin classDymaxionProjection
-
inverseTriangleTransform
protected double[] inverseTriangleTransform(double x, double y) - Overrides:
inverseTriangleTransformin classDymaxionProjection
-
metersPerUnit
public double metersPerUnit()Description copied from interface:GeographicProjectionGives an estimation of the scale of this projection. This is just an estimation, as distortion is inevitable when projecting a sphere onto a flat surface, so this value varies from places to places in reality.- Specified by:
metersPerUnitin interfaceGeographicProjection- Overrides:
metersPerUnitin classDymaxionProjection- Returns:
- an estimation of the scale of this projection
-
toString
- Overrides:
toStringin classDymaxionProjection
-