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