public class CoordinateSystem
extends java.lang.Object
Constructor and Description |
---|
CoordinateSystem(AxisUnit xAxisUnits,
AxisUnit yAxisUnits,
float yMin,
float yMax,
boolean wraps) |
CoordinateSystem(AxisUnit yAxisUnits,
float yMin,
float yMax) |
CoordinateSystem(AxisUnit yAxisUnits,
float yMin,
float yMax,
boolean wraps) |
Modifier and Type | Method and Description |
---|---|
void |
clearPoints() |
float |
getDelta(Axis axis) |
double |
getEndX() |
double |
getEndY() |
float |
getMax(Axis axis) |
float |
getMin(Axis axis) |
float |
getRealXValue(float value) |
double |
getStartX() |
double |
getStartY() |
AxisUnit |
getUnitsForAxis(Axis axis) |
float |
getWrappingOrigin() |
boolean |
hasStartPoint() |
boolean |
isWrapping() |
void |
setEndPoint(double x,
double y) |
void |
setMax(Axis axis,
float value) |
void |
setMin(Axis axis,
float value) |
void |
setStartPoint(double x,
double y) |
void |
setWrappingOrigin(float wrappingOrigin) |
public CoordinateSystem(AxisUnit yAxisUnits, float yMin, float yMax)
public CoordinateSystem(AxisUnit yAxisUnits, float yMin, float yMax, boolean wraps)
public float getWrappingOrigin()
public void setWrappingOrigin(float wrappingOrigin)
public float getRealXValue(float value)
public float getDelta(Axis axis)
public float getMin(Axis axis)
public float getMax(Axis axis)
public void setMax(Axis axis, float value)
public void setMin(Axis axis, float value)
public void setStartPoint(double x, double y)
public boolean hasStartPoint()
public void setEndPoint(double x, double y)
public void clearPoints()
public double getStartX()
public double getStartY()
public double getEndY()
public double getEndX()
public boolean isWrapping()