|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.planeth.common.geom.Shape.Bounds
Calculates the bounds (boundary vertexes)
of an Array of vertexes.
It stores the most north, east, south and west
vertexes of an array of vertexes.
| Constructor Summary | |
Shape.Bounds(Shape shape)
Constructor for Bounds. |
|
| Method Summary | |
Vector2D |
getEast()
Returns the east Vector |
double |
getHeight()
Returns the height |
Vector2D |
getNorth()
Returns the north Vector |
java.awt.Rectangle |
getRect()
Returns a rectangle representing the Bounds object |
Vector2D |
getSouth()
Returns the south Vector |
Vector2D |
getWest()
Returns the west Vector |
double |
getWidth()
Returns the with |
double |
getX()
Returns the most west x-coordinate |
double |
getY()
Returns the most north y-coordinate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Shape.Bounds(Shape shape)
shape - the Shape to calculates the bounds| Method Detail |
public Vector2D getNorth()
public Vector2D getSouth()
public Vector2D getWest()
public Vector2D getEast()
public double getWidth()
public double getHeight()
public double getX()
public double getY()
public java.awt.Rectangle getRect()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||