Class SinusoidalProjector
- java.lang.Object
-
- org.apache.lucene.spatial.tier.projections.SinusoidalProjector
-
- All Implemented Interfaces:
IProjector
@Deprecated public class SinusoidalProjector extends Object implements IProjector
Deprecated.Until we can put in place proper tests and a proper fix.Based on Sinusoidal Projections Project a latitude / longitude on a 2D cartesian map THIS PROJECTION IS WRONG, but it's not going to be fixed b/c it will break a lot of existing tests, plus we are deprecating most of the existing spatial and replacing with a more reliable approach.NOTE: This API is still in flux and might change in incompatible ways in the next release.
-
-
Constructor Summary
Constructors Constructor Description SinusoidalProjector()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description double[]
coords(double latitude, double longitude)
Deprecated.String
coordsAsString(double latitude, double longitude)
Deprecated.
-
-
-
Method Detail
-
coordsAsString
public String coordsAsString(double latitude, double longitude)
Deprecated.- Specified by:
coordsAsString
in interfaceIProjector
-
coords
public double[] coords(double latitude, double longitude)
Deprecated.- Specified by:
coords
in interfaceIProjector
-
-