|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.geometry.projection.Projection
public abstract class Projection
A projection from lat/long to some sort of x, y coordinates.
| Constructor Summary | |
|---|---|
Projection()
|
|
| Method Summary | |
|---|---|
void |
project(DoubleBuffer coords)
Treats the given DoubleBuffer as an array of x,y pairs, and projects all of them. |
Point |
project(double longitude,
double latitude)
|
abstract void |
project(Point point)
Project from latlong to xy. |
void |
projectFeet(DoubleBuffer coords)
Same as project(DoubleBuffer), but produces feet instead of meters. |
Point |
projectFeet(double longitude,
double latitude)
|
void |
projectFeet(Point point)
Same as project, but returns feet instead of meters. |
void |
reverse(DoubleBuffer coords)
Treats the given DoubleBuffer as an array of x,y pairs, and reverse projects all of them. |
Point |
reverse(double x,
double y)
|
abstract void |
reverse(Point point)
Reverse project from xy to latlong. |
void |
reverseFeet(DoubleBuffer coords)
Same as reverse(DoubleBuffer), but treats input as feet instead of meters. |
Point |
reverseFeet(double x,
double y)
|
void |
reverseFeet(Point point)
Same as reverse, but with input in feet instead of meters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.partnersoft.data.cog.Coggable |
|---|
getState, setState |
| Constructor Detail |
|---|
public Projection()
| Method Detail |
|---|
public abstract void project(Point point)
public abstract void reverse(Point point)
public Point reverse(double x,
double y)
public Point project(double longitude,
double latitude)
public Point reverseFeet(double x,
double y)
public Point projectFeet(double longitude,
double latitude)
public void projectFeet(Point point)
public void reverseFeet(Point point)
public void project(DoubleBuffer coords)
public void reverse(DoubleBuffer coords)
public void projectFeet(DoubleBuffer coords)
public void reverseFeet(DoubleBuffer coords)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||