public class GeneralDisplayAdapter
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
GeneralDisplayAdapter() |
|
GeneralDisplayAdapter(CoordSystem inCoordSys,
Point3d ll,
Point3d ur,
Point3d center,
Point3d scale) |
Modifier and Type | Method and Description |
---|---|
Point3d |
displayToLocal(Point3d disp)
Convert the given coordinate in display space to the local coordinate system.
|
void |
finalize() |
boolean |
geoPointFromScreenBatch(View view,
int frameSizeX,
int frameSizeY,
double[] inX,
double[] inY,
double[] outX,
double[] outY) |
void |
getBounds(Point3d ll,
Point3d ur)
Return the bounding box of the given display adapter.
|
CoordSystem |
getCoordSystem()
The coordinate system we're using for local coordinates.
|
Point3d |
localToDisplay(Point3d local)
Convert from the local coordinate system to display space.
|
boolean |
screenPointFromGeoBatch(View view,
int frameSizeX,
int frameSizeY,
double[] inX,
double[] inY,
double[] inZ,
double[] outX,
double[] outY) |
void |
shutdown() |
protected GeneralDisplayAdapter()
public GeneralDisplayAdapter(CoordSystem inCoordSys, Point3d ll, Point3d ur, Point3d center, Point3d scale)
public void finalize()
public Point3d displayToLocal(Point3d disp)
disp
- Point in display coordinates.public Point3d localToDisplay(Point3d local)
local
- Point in the local system.public void getBounds(Point3d ll, Point3d ur)
ll
- Lower left corner of the bounding box.ur
- Upper right corner of bounding box.public CoordSystem getCoordSystem()
public boolean screenPointFromGeoBatch(View view, int frameSizeX, int frameSizeY, double[] inX, double[] inY, double[] inZ, double[] outX, double[] outY)
public boolean geoPointFromScreenBatch(View view, int frameSizeX, int frameSizeY, double[] inX, double[] inY, double[] outX, double[] outY)
public void shutdown()