Package org.jlab.geom.view
Class UniverseCoordinateSystem
java.lang.Object
org.jlab.geom.view.UniverseCoordinateSystem
- Author:
- gavalian
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic int
static int
static int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
getCanvasX
(Point3D point) double
getCanvasY
(Point3D point) double
getPointX
(double x) double
getPointY
(double y) double
getPointZ
(double z) getWorld()
final void
setCanvas
(int w, int h) final void
setWorld
(double x0, double y0, double x1, double y1)
-
Field Details
-
PROJECTION_XY
public static int PROJECTION_XY -
PROJECTION_XZ
public static int PROJECTION_XZ -
PROJECTION_YZ
public static int PROJECTION_YZ
-
-
Constructor Details
-
UniverseCoordinateSystem
public UniverseCoordinateSystem() -
UniverseCoordinateSystem
public UniverseCoordinateSystem(double x0, double y0, double x1, double y1)
-
-
Method Details
-
setCanvas
public final void setCanvas(int w, int h) -
setWorld
public final void setWorld(double x0, double y0, double x1, double y1) -
getWorld
-
getCanvas
-
getPointX
public double getPointX(double x) -
getPointY
public double getPointY(double y) -
getPointZ
public double getPointZ(double z) -
getCanvasX
-
getCanvasY
-