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