public interface ILfnTileBounds extends ILcdBounds
The provided containsXXX
methods must be used to reliably check if a point is within the tile.
Modifier and Type | Method and Description |
---|---|
boolean |
contains2D(double aX,
double aY)
Deprecated.
Checks whether the tile contains a point.
|
double |
getHeight()
Deprecated.
Gets the height of this tile.
|
double |
getLeftX()
Deprecated.
Gets the
x coordinate of the left border of this tile. |
double |
getLowerY()
Deprecated.
Gets the
y coordinate of the lower border of this tile. |
default double |
getMaxX()
Deprecated.
Returns the maximum X value (right boundary) of this bounds.
|
default double |
getMaxY()
Deprecated.
Returns the maximum Y value (upper boundary) of this bounds.
|
default double |
getMinX()
Deprecated.
Returns the minimum X value (left boundary) of this bounds.
|
default double |
getMinY()
Deprecated.
Returns the minimum Y value (lower boundary) of this bounds.
|
double |
getRightX()
Deprecated.
Gets the
x coordinate of the right border of this tile. |
double |
getUpperY()
Deprecated.
Gets the
y coordinate of the upper border of this tile. |
double |
getWidth()
Deprecated.
Gets the width of this tile.
|
cloneAs2DEditableBounds, cloneAs3DEditableBounds, contains2D, contains2D, contains3D, contains3D, getCenter, getDepth, getLocation, getMaxZ, getMinZ, interacts2D, interacts2D, interacts3D, interacts3D, isDefined
contains2D, contains3D, contains3D, getFocusPoint
getBounds
clone
boolean contains2D(double aX, double aY)
contains2D
in interface ILcdShape
aX
- the x
coordinate of the pointaY
- the y
coordinate of the pointtrue
if the tile contains the point, false
otherwisedouble getLeftX()
x
coordinate of the left border of this tile.double getRightX()
x
coordinate of the right border of this tile.double getLowerY()
y
coordinate of the lower border of this tile.double getUpperY()
y
coordinate of the upper border of this tile.double getWidth()
getWidth
in interface ILcdBounds
double getHeight()
getHeight
in interface ILcdBounds
default double getMinX()
ILcdBounds
getLocation.getX()
, but can be overridden for performance.getMinX
in interface ILcdBounds
ILcdBounds.getMaxX()
default double getMinY()
ILcdBounds
getLocation.getY()
, but can be overridden for performance.getMinY
in interface ILcdBounds
ILcdBounds.getMaxY()
default double getMaxX()
ILcdBounds
getLocation.getX() + getWidth()
, but can be overridden for performance.
Note that this is a derived property, the bounds are defined by their lower-left corner and width/height.
For geodetic bounds
, the returned value is not necessarily normalized to [-180, 180].getMaxX
in interface ILcdBounds
ILcdBounds.getMinX()
default double getMaxY()
ILcdBounds
getLocation.getY() + getHeight()
, but can be overridden for performance.
Note that this is a derived property, the bounds are defined by their lower-left corner and width/height.getMaxY
in interface ILcdBounds
ILcdBounds.getMinY()