mirror of
https://github.com/csharpee/Map-Projections.git
synced 2025-12-11 00:00:15 -05:00
Final adjustments
A name change here. A new rating there. Basic stuff.
This commit is contained in:
parent
54671446f2
commit
94f1cabcae
Binary file not shown.
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
@ -84,7 +84,7 @@ public class MapPlotter extends Application {
|
|||||||
Arbitrary.DANSEIJI_II };
|
Arbitrary.DANSEIJI_II };
|
||||||
private static final Projection[] TETRAHEDRAL = { Polyhedral.LEE_TETRAHEDRAL_RECTANGULAR,
|
private static final Projection[] TETRAHEDRAL = { Polyhedral.LEE_TETRAHEDRAL_RECTANGULAR,
|
||||||
Polyhedral.AUTHAGRAPH, Polyhedral.VAN_LEEUWEN };
|
Polyhedral.AUTHAGRAPH, Polyhedral.VAN_LEEUWEN };
|
||||||
private static final Projection[] CHEATY = { Pseudocylindrical.LEMONS, Octohedral.KEYES_BASIC_M,
|
private static final Projection[] CHEATY = { Pseudocylindrical.LEMONS, Octohedral.CAHILL_KEYES,
|
||||||
Polyhedral.DYMAXION, Octohedral.CAHILL_CONCIALDI };
|
Polyhedral.DYMAXION, Octohedral.CAHILL_CONCIALDI };
|
||||||
private static final Projection[] OTHER = { Misc.PEIRCE_QUINCUNCIAL };
|
private static final Projection[] OTHER = { Misc.PEIRCE_QUINCUNCIAL };
|
||||||
|
|
||||||
|
|||||||
@ -189,7 +189,8 @@ public class Lenticular {
|
|||||||
|
|
||||||
|
|
||||||
public double[] inverse(double x, double y) {
|
public double[] inverse(double x, double y) {
|
||||||
return obliquifyPlnr(HAMMER.inverse(x/1.63*2, y), POLE); // TODO
|
// return obliquifyPlnr(HAMMER.inverse(x/1.63*2, y), POLE); // TODO
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -234,7 +234,7 @@ public class Polyhedral {
|
|||||||
|
|
||||||
|
|
||||||
public static final Projection VAN_LEEUWEN = new PolyhedralProjection(
|
public static final Projection VAN_LEEUWEN = new PolyhedralProjection(
|
||||||
"van Leeuwen", "An uninterrupted equal-area tetrahedral projection. It's more accurately known as \"the Vertex-oriented great circle projection applied to a tetrahedron\", but the guy who copublished it with Leeuwen calls it \"the van Leeuwen projection\" on his website, so I think this is fine.",
|
"Van Leeuwen", "An uninterrupted equal-area tetrahedral projection. It's more accurately known as \"the Vertex-oriented great circle projection applied to a tetrahedron\", but the guy who copublished it with Leeuwen calls it \"the van Leeuwen projection\" on his website, so I think this is fine.",
|
||||||
0b1011, Configuration.TETRAHEDRON_WIDE_VERTEX, Property.EQUAL_AREA, 3) {
|
0b1011, Configuration.TETRAHEDRON_WIDE_VERTEX, Property.EQUAL_AREA, 3) {
|
||||||
|
|
||||||
public double[] faceProject(double lat, double lon) {
|
public double[] faceProject(double lat, double lon) {
|
||||||
|
|||||||
@ -95,7 +95,7 @@ public class Pseudocylindrical {
|
|||||||
|
|
||||||
public static final Projection KAVRAYSKIY_VII = new Projection(
|
public static final Projection KAVRAYSKIY_VII = new Projection(
|
||||||
"Kavrayskiy VII", Math.PI*Math.sqrt(3), Math.PI, 0b1111, Type.PSEUDOCYLINDRICAL,
|
"Kavrayskiy VII", Math.PI*Math.sqrt(3), Math.PI, 0b1111, Type.PSEUDOCYLINDRICAL,
|
||||||
Property.COMPROMISE, 3, null, "mostly popular in the former Soviet Union") {
|
Property.COMPROMISE, 2, null, "mostly popular in the former Soviet Union") {
|
||||||
|
|
||||||
public double[] project(double lat, double lon) {
|
public double[] project(double lat, double lon) {
|
||||||
return new double[] { 1.5*lon*Math.sqrt(1/3.-Math.pow(lat/Math.PI, 2)), lat };
|
return new double[] { 1.5*lon*Math.sqrt(1/3.-Math.pow(lat/Math.PI, 2)), lat };
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user