Package | Description |
---|---|
com.b3dgs.lionengine.geom |
Geometry basic dedicated package.
|
Modifier and Type | Method and Description |
---|---|
static Rectangle |
Geom.createRectangle()
Create a rectangle.
|
static Rectangle |
Geom.createRectangle(double x,
double y,
double w,
double h)
Create a rectangle.
|
static Rectangle |
Geom.createRectangle(Rectangle rectangle)
Create a rectangle.
|
Rectangle |
Polygon.getRectangle()
Get the polygon rectangle bounds.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Rectangle.contains(Rectangle rectangle)
Check if the rectangle contains the other.
|
boolean |
Polygon.contains(Rectangle rectangle)
Check if the rectangle contains the other.
|
static Rectangle |
Geom.createRectangle(Rectangle rectangle)
Create a rectangle.
|
boolean |
Rectangle.intersects(Rectangle rectangle)
Check if the rectangle intersects the other.
|
boolean |
Polygon.intersects(Rectangle rectangle)
Check if the rectangle intersects the other.
|
Copyright © 2016 Byron 3D Games Studio. All rights reserved.