public abstract class Projection extends Object implements IProjection
| Constructor and Description |
|---|
Projection() |
Projection(Ellipsoid e) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a copy of the object.
|
static String |
coordToString(double coord,
String fmt,
boolean isLat) |
abstract Point2D |
createPoint(double x,
double y) |
Point2D |
createPoint(Point2D pt) |
abstract void |
drawGrid(Graphics2D g,
ViewPortData vp) |
String |
export(String format)
Return the string representation of projection in the format.
|
abstract Point2D |
fromGeo(Point2D gPt,
Point2D mPt) |
abstract String |
getAbrev() |
IDatum |
getDatum() |
double[] |
getElliPar() |
Color |
getGridColor() |
String |
getName() |
static IProjection |
getProjectionByName(IDatum eli,
String name) |
ReProjection |
getReproyectionTo(Projection proj) |
boolean |
isProjected() |
void |
setGridColor(Color c) |
abstract Point2D |
toGeo(Point2D pt) |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCT, getExtent, getFullCode, getScalepublic Projection()
public Projection(Ellipsoid e)
public String getName()
public abstract String getAbrev()
getAbrev in interface IProjectionpublic IDatum getDatum()
getDatum in interface IProjectionpublic double[] getElliPar()
public abstract Point2D createPoint(double x, double y)
createPoint in interface IProjectionpublic static IProjection getProjectionByName(IDatum eli, String name)
public ReProjection getReproyectionTo(Projection proj)
public abstract Point2D toGeo(Point2D pt)
toGeo in interface IProjectionpublic abstract Point2D fromGeo(Point2D gPt, Point2D mPt)
fromGeo in interface IProjectionpublic void setGridColor(Color c)
setGridColor in interface IProjectionpublic Color getGridColor()
getGridColor in interface IProjectionpublic abstract void drawGrid(Graphics2D g, ViewPortData vp)
drawGrid in interface IProjectionpublic boolean isProjected()
isProjected in interface IProjectionpublic Object clone() throws CloneNotSupportedException
Cloneableclone in class ObjectCloneNotSupportedException - if the instance of the object cannot
be cloned. As this is extending Cloneable so
its sure it implements it, so this exception may be used for problems
on specific object instances.Object#clone()}.public String export(String format)
IProjectionexport in interface IProjection