public interface Point2d extends Coordinate
Coordinate interface.| Modifier and Type | Method and Description |
|---|---|
Point2d |
copy()
Clone the point
|
void |
copyFrom(Point2d p)
Copy the values of the given point into this point.
|
float |
getX() |
float |
getY() |
Point2d |
minus(Point2d a)
Take point point from another point such that return = this - a
|
void |
setX(float x)
Set x coordinate of point
|
void |
setY(float y)
Set y coordinate of point
|
Point2d |
transform(Jama.Matrix m)
Transform the point by the given matrix
|
void |
translate(float x,
float y)
Translate the position of the point by the given amounts
|
void |
translate(Point2d v)
Translate the position of the point by the given amounts
|
getDimensions, getOrdinate, setOrdinateasciiHeader, readASCIIbinaryHeader, readBinaryasciiHeader, writeASCIIbinaryHeader, writeBinaryfloat getX()
void setX(float x)
x - x-coordinatefloat getY()
void setY(float y)
y - y-coordinatevoid copyFrom(Point2d p)
p - The point to copy values from.void translate(float x, float y)
x - x-amounty - y-amountPoint2d transform(Jama.Matrix m)
m - Point2d minus(Point2d a)
a -