public class Rectangle
Class Rectangle. Provides rectangle functionality for the Hytale server.
java.lang.Object > Rectangle
Field Summary
min
private
Vector2d
min
Field min.
max
private
Vector2d
max
Field max.
that
final
Rectangle
that
Field that.
Method Detail
Rectangle
public
public
Rectangle
()
Method Rectangle.
Vector2d
public
new
Vector2d
()
Method Vector2d.
getMinX
public
double
getMinX
()
Method getMinX.
getMinY
public
double
getMinY
()
Method getMinY.
getMaxX
public
double
getMaxX
()
Method getMaxX.
getMaxY
public
double
getMaxY
()
Method getMaxY.
assign
public
Rectangle
assign
(final double minX, final double minY, final double maxX, final double maxY)
Method assign.
- Parameters:
final doubleminXfinal doubleminYfinal doublemaxXfinal doublemaxY
hasArea
public
boolean
hasArea
()
Method hasArea.
equals
public
boolean
equals
(@Nullable final Object o)
Method equals.
- Parameters:
@Nullable final Objecto
if
public
else
if
(that.min == null)
Method if.
- Parameters:
that.min ==null
hashCode
public
int
hashCode
()
Method hashCode.
toString
public
String
toString
()
Method toString.