java.lang.Object
swim.math.R2Shape
swim.math.R2Box
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanbooleanbooleanboolean<T> Output<T>Writes a developer readable, debug-formatted string representation of this object tooutput.booleanform()inthashCode()booleanintersects(R2Box box) booleanintersects(R2Circle circle) booleanintersects(R2Point point) booleanintersects(R2Shape shape) static R2Boxof(double xMin, double yMin, double xMax, double yMax) toString()toValue()final doublexMax()final doublexMin()final doubleyMax()final doubleyMin()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:
intersectsin classR2Shape
-
intersects
-
intersects
-
intersects
-
transform
-
toValue
-
canEqual
-
equals
-
hashCode
public int hashCode() -
debug
Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput. -
toString
-
of
-
form
-