uk.ac.leeds.ccg.andyt.vector.geometry
Class Vector_SimplePoint2D
java.lang.Object
uk.ac.leeds.ccg.andyt.vector.geometry.Vector_SimplePoint2D
public class Vector_SimplePoint2D
- extends java.lang.Object
Field Summary |
java.math.BigDecimal |
_x
The x coordinate of the VectorPoint2D |
java.math.BigDecimal |
_y
The y coordinate of the VectorPoint2D |
Constructor Summary |
Vector_SimplePoint2D()
Creates a default VectorPoint2D with:
_x = null;
_y = null; |
Vector_SimplePoint2D(java.math.BigDecimal x,
java.math.BigDecimal y)
Creates a default VectorPoint2D with:
_x = x;
_y = y; |
Method Summary |
java.math.BigDecimal |
getX()
|
java.math.BigDecimal |
getY()
|
void |
setX(java.math.BigDecimal _x)
|
void |
setY(java.math.BigDecimal _y)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_x
public java.math.BigDecimal _x
- The x coordinate of the VectorPoint2D
_y
public java.math.BigDecimal _y
- The y coordinate of the VectorPoint2D
Vector_SimplePoint2D
public Vector_SimplePoint2D()
- Creates a default VectorPoint2D with:
_x = null;
_y = null;
Vector_SimplePoint2D
public Vector_SimplePoint2D(java.math.BigDecimal x,
java.math.BigDecimal y)
- Creates a default VectorPoint2D with:
_x = x;
_y = y;
getX
public java.math.BigDecimal getX()
setX
public void setX(java.math.BigDecimal _x)
getY
public java.math.BigDecimal getY()
setY
public void setY(java.math.BigDecimal _y)