Package | Description |
---|---|
pythagoras.i |
The Pythagoras geometry utility classes specialized on
int . |
Modifier and Type | Method and Description |
---|---|
Point |
IPoint.add(int x,
int y)
Translates this point by the specified offset.
|
Point |
AbstractPoint.add(int x,
int y) |
Point |
IPoint.add(int x,
int y,
Point result)
Translates this point by the specified offset and stores the result in the object provided.
|
Point |
AbstractPoint.add(int x,
int y,
Point result) |
Point |
Point.addLocal(int dx,
int dy)
Translates this point by the specified offset.
|
Point |
IPoint.clone()
Returns a mutable copy of this point.
|
Point |
AbstractPoint.clone() |
Point |
IRectangle.location()
Returns a copy of this rectangle's upper-left corner.
|
Point |
AbstractRectangle.location() |
Point |
IRectangle.location(Point target)
Initializes the supplied point with this rectangle's upper-left corner.
|
Point |
AbstractRectangle.location(Point target) |
Point |
Point.set(int x,
int y)
Sets the coordinates of this point to the supplied values.
|
Point |
Point.set(IPoint p)
Sets the coordinates of this point to be equal to those of the supplied point.
|
Point |
IPoint.subtract(int x,
int y)
Subtracts the supplied point from
this . |
Point |
AbstractPoint.subtract(int x,
int y) |
Point |
IPoint.subtract(int x,
int y,
Point result)
Subtracts the supplied point from
this and stores the result in result . |
Point |
AbstractPoint.subtract(int x,
int y,
Point result) |
Point |
IPoint.subtract(IPoint other,
Point result)
Subtracts the supplied point from
this and stores the result in result . |
Point |
AbstractPoint.subtract(IPoint other,
Point result) |
Point |
Point.subtractLocal(int x,
int y)
Subtracts the supplied x/y from this point.
|
Modifier and Type | Method and Description |
---|---|
Point |
IPoint.add(int x,
int y,
Point result)
Translates this point by the specified offset and stores the result in the object provided.
|
Point |
AbstractPoint.add(int x,
int y,
Point result) |
Point |
IRectangle.location(Point target)
Initializes the supplied point with this rectangle's upper-left corner.
|
Point |
AbstractRectangle.location(Point target) |
Point |
IPoint.subtract(int x,
int y,
Point result)
Subtracts the supplied point from
this and stores the result in result . |
Point |
AbstractPoint.subtract(int x,
int y,
Point result) |
Point |
IPoint.subtract(IPoint other,
Point result)
Subtracts the supplied point from
this and stores the result in result . |
Point |
AbstractPoint.subtract(IPoint other,
Point result) |
Copyright © 2017. All rights reserved.