public class CanvasSize extends Object
Modifier and Type | Field and Description |
---|---|
double |
maxx
Maximum X
|
double |
maxy
Maximum Y
|
double |
minx
Minimum X
|
double |
miny
Minimum Y
|
Constructor and Description |
---|
CanvasSize(double minx,
double maxx,
double miny,
double maxy)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
continueToMargin(double[] origin,
double[] delta)
Continue a line along a given direction to the margin.
|
double |
getDiffX() |
double |
getDiffY() |
double |
getMaxX() |
double |
getMaxY() |
double |
getMinX() |
double |
getMinY() |
String |
toString() |
public final double minx
public final double maxx
public final double miny
public final double maxy
public CanvasSize(double minx, double maxx, double miny, double maxy)
minx
- Minimum Xmaxx
- Maximum Xminy
- Minimum Ymaxy
- Maximum Ypublic double getMinX()
public double getMaxX()
public double getMinY()
public double getMaxY()
public double getDiffX()
public double getDiffY()
public double continueToMargin(double[] origin, double[] delta)
origin
- Origin pointdelta
- Direction vectorCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.