java.lang.Object
swim.math.R2Shape
swim.math.R2Box
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
boolean
boolean
boolean
<T> Output<T>
Writes a developer readable, debug-formatted string representation of this object tooutput
.boolean
form()
int
hashCode()
boolean
intersects
(R2Box box) boolean
intersects
(R2Circle circle) boolean
intersects
(R2Point point) boolean
intersects
(R2Shape shape) static R2Box
of
(double xMin, double yMin, double xMax, double yMax) toString()
toValue()
final double
xMax()
final double
xMin()
final double
yMax()
final double
yMin()
Methods inherited from class swim.math.R2Shape
contains, intersects, shapeForm
-
Field Details
-
xMin
public final double xMin -
yMin
public final double yMin -
xMax
public final double xMax -
yMax
public final double yMax
-
-
Constructor Details
-
R2Box
public R2Box(double xMin, double yMin, double xMax, double yMax)
-
-
Method Details
-
xMin
public final double xMin() -
yMin
public final double yMin() -
xMax
public final double xMax() -
yMax
public final double yMax() -
contains
-
contains
-
contains
-
contains
-
intersects
- Specified by:
intersects
in classR2Shape
-
intersects
-
intersects
-
intersects
-
transform
-
toValue
-
canEqual
-
equals
-
hashCode
public int hashCode() -
debug
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
. -
toString
-
of
-
form
-