| Modifier and Type | Method and Description |
|---|---|
Rectanglei |
Rectanglei.intersection(Rectanglei other)
Compute the rectangle of intersection between
this and the given rectangle. |
Rectanglei |
Rectanglei.intersection(Rectanglei other,
Rectanglei dest)
Compute the rectangle of intersection between
this and the given rectangle and
store the result in dest. |
Rectanglei |
Rectanglei.scale(int sf)
Scale
this about the origin. |
Rectanglei |
Rectanglei.scale(int sx,
int sy)
Scale
this about the origin. |
Rectanglei |
Rectanglei.scale(int sf,
int ax,
int ay)
Scale
this about an anchor. |
Rectanglei |
Rectanglei.scale(int sx,
int sy,
int ax,
int ay)
Scale
this about an anchor. |
Rectanglei |
Rectanglei.scale(int sx,
int sy,
int ax,
int ay,
Rectanglei dest)
Scale
this about an anchor and store the result in dest. |
Rectanglei |
Rectanglei.scale(int sf,
int ax,
int ay,
Rectanglei dest)
Scale
this about an anchor and store the result in dest. |
Rectanglei |
Rectanglei.scale(int sx,
int sy,
Rectanglei dest)
Scale
this about the origin and store the result in dest. |
Rectanglei |
Rectanglei.scale(int sx,
int sy,
org.joml.Vector2ic anchor)
Scale
this about an anchor. |
Rectanglei |
Rectanglei.scale(int sx,
int sy,
org.joml.Vector2ic anchor,
Rectanglei dest)
Scale
this about an anchor and store the result in dest. |
Rectanglei |
Rectanglei.scale(int sf,
Rectanglei dest)
Scale
this about the origin and store the result in dest. |
Rectanglei |
Rectanglei.scale(int sf,
org.joml.Vector2ic anchor)
Scale
this about an anchor. |
Rectanglei |
Rectanglei.scale(int sf,
org.joml.Vector2ic anchor,
Rectanglei dest)
Scale
this about an anchor and store the result in dest. |
Rectanglei |
Rectanglei.set(Rectanglei source)
Set this
Rectanglei to be a clone of source. |
Rectanglei |
Rectanglei.setMax(int maxX,
int maxY)
Set the maximum corner coordinates.
|
Rectanglei |
Rectanglei.setMax(org.joml.Vector2ic max)
Set the maximum corner coordinates.
|
Rectanglei |
Rectanglei.setMin(int minX,
int minY)
Set the minimum corner coordinates.
|
Rectanglei |
Rectanglei.setMin(org.joml.Vector2ic min)
Set the minimum corner coordinates.
|
Rectanglei |
Rectanglei.translate(int x,
int y)
Translate
this by the vector (x, y). |
Rectanglei |
Rectanglei.translate(int x,
int y,
Rectanglei dest)
Translate
this by the vector (x, y) and store the result in dest. |
Rectanglei |
Rectanglei.translate(org.joml.Vector2ic xy)
Translate
this by the given vector xy. |
Rectanglei |
Rectanglei.translate(org.joml.Vector2ic xy,
Rectanglei dest)
Translate
this by the given vector xy and store the result in dest. |
Rectanglei |
Rectanglei.union(int x,
int y)
Set
this to the union of this and the given point p. |
Rectanglei |
Rectanglei.union(int x,
int y,
Rectanglei dest)
Compute the union of
this and the given point (x, y, z) and store the result in dest. |
Rectanglei |
Rectanglei.union(Rectanglei other)
Set
this to the union of this and other. |
Rectanglei |
Rectanglei.union(Rectanglei other,
Rectanglei dest)
Compute the union of
this and other and store the result in dest. |
Rectanglei |
Rectanglei.union(org.joml.Vector2ic p)
Set
this to the union of this and the given point p. |
Rectanglei |
Rectanglei.union(org.joml.Vector2ic p,
Rectanglei dest)
Compute the union of
this and the given point p and store the result in dest. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Rectangled.containsRectangle(Rectanglei rectangle)
Check if this rectangle contains the given
rectangle. |
boolean |
Rectanglef.containsRectangle(Rectanglei rectangle)
Check if this rectangle contains the given
rectangle. |
boolean |
Rectanglei.containsRectangle(Rectanglei rectangle)
Check if this rectangle contains the given
rectangle. |
Rectanglef |
Rectanglef.intersection(Rectanglei other)
Compute the rectangle of intersection between
this and the given rectangle. |
Rectanglei |
Rectanglei.intersection(Rectanglei other)
Compute the rectangle of intersection between
this and the given rectangle. |
Rectangled |
Rectangled.intersection(Rectanglei other,
Rectangled dest)
Compute the rectangle of intersection between
this and the given rectangle and
store the result in dest. |
Rectanglef |
Rectanglef.intersection(Rectanglei other,
Rectanglef dest)
Compute the rectangle of intersection between
this and the given rectangle and
store the result in dest. |
Rectanglei |
Rectanglei.intersection(Rectanglei other,
Rectanglei dest)
Compute the rectangle of intersection between
this and the given rectangle and
store the result in dest. |
boolean |
Rectangled.intersectsRectangle(Rectanglei other)
Check if this and the given rectangle intersect.
|
boolean |
Rectanglef.intersectsRectangle(Rectanglei other)
Check if this and the given rectangle intersect.
|
boolean |
Rectanglei.intersectsRectangle(Rectanglei other)
Check if this and the given rectangle intersect.
|
Rectanglei |
Rectanglei.scale(int sx,
int sy,
int ax,
int ay,
Rectanglei dest)
Scale
this about an anchor and store the result in dest. |
Rectanglei |
Rectanglei.scale(int sf,
int ax,
int ay,
Rectanglei dest)
Scale
this about an anchor and store the result in dest. |
Rectanglei |
Rectanglei.scale(int sx,
int sy,
Rectanglei dest)
Scale
this about the origin and store the result in dest. |
Rectanglei |
Rectanglei.scale(int sx,
int sy,
org.joml.Vector2ic anchor,
Rectanglei dest)
Scale
this about an anchor and store the result in dest. |
Rectanglei |
Rectanglei.scale(int sf,
Rectanglei dest)
Scale
this about the origin and store the result in dest. |
Rectanglei |
Rectanglei.scale(int sf,
org.joml.Vector2ic anchor,
Rectanglei dest)
Scale
this about an anchor and store the result in dest. |
Rectanglei |
Rectanglei.set(Rectanglei source)
Set this
Rectanglei to be a clone of source. |
Rectanglei |
Rectanglei.translate(int x,
int y,
Rectanglei dest)
Translate
this by the vector (x, y) and store the result in dest. |
Rectanglei |
Rectanglei.translate(org.joml.Vector2ic xy,
Rectanglei dest)
Translate
this by the given vector xy and store the result in dest. |
Rectanglei |
Rectanglei.union(int x,
int y,
Rectanglei dest)
Compute the union of
this and the given point (x, y, z) and store the result in dest. |
Rectanglei |
Rectanglei.union(Rectanglei other)
Set
this to the union of this and other. |
Rectanglei |
Rectanglei.union(Rectanglei other,
Rectanglei dest)
Compute the union of
this and other and store the result in dest. |
Rectanglei |
Rectanglei.union(org.joml.Vector2ic p,
Rectanglei dest)
Compute the union of
this and the given point p and store the result in dest. |
| Constructor and Description |
|---|
Rectanglei(Rectanglei source)
Create a new
Rectanglei as a copy of the given source. |
Copyright © 2020 JOML. All rights reserved.