Constructor and Description |
---|
XYPair(Diagram.RouteStep routeStep)
Construct a new XY pair from a route step.
|
XYPair(Diagram.XYPair in,
int quadrant)
Construct a rotated version of an XYPair.
|
XYPair(int x,
int y)
Construct a new XY pair.
|
Modifier and Type | Method and Description |
---|---|
int |
getX()
Retrieve the X value.
|
int |
getY()
Retrieve the Y value.
|
String |
toString() |
public XYPair(int x, int y)
x
- int; the X valuey
- int; the Y valuepublic XYPair(Diagram.RouteStep routeStep)
routeStep
- RouteStep; the route steppublic XYPair(Diagram.XYPair in, int quadrant)
in
- XYPair; the initial versionquadrant
- int; the quadrantCopyright © 2014–2017 Delft University of Technology. All rights reserved.