public class Rectangle2DConverter extends Object implements MBRConverter<Rectangle2D>
| Constructor and Description |
|---|
Rectangle2DConverter() |
| Modifier and Type | Method and Description |
|---|---|
int |
getDimensions() |
double |
getMax(int axis,
Rectangle2D t)
Get the maximum coordinate value for the given t
|
double |
getMin(int axis,
Rectangle2D t)
Get the minimum coordinate value for the given t.
|
public int getDimensions()
getDimensions in interface MBRConverter<Rectangle2D>public double getMin(int axis,
Rectangle2D t)
MBRConvertergetMin in interface MBRConverter<Rectangle2D>axis - the axis to get the min value fort - the object to get the mbr ordinate forpublic double getMax(int axis,
Rectangle2D t)
MBRConvertergetMax in interface MBRConverter<Rectangle2D>axis - the axis to get the max value fort - the object to get the mbr ordinate for