Interface ILcdMultilevelGrid
- All Superinterfaces:
ILcdBounded
Describes a rectangular, axis aligned, uniform, multilevel grid. A grid defines a number of areas which
can be located and expressed using multilevel coordinates. These coordinates may be expressed in any reference.
A multilevel grid has multiple levels, each having a different granularity, based on the level above, designating
smaller areas.
A multilevel grid is defined by:
- the extreme points of the grid. These are the points with the highest and lowest coordinates expressed in the reference on which this grid is based.
- the number of levels of the grid,
- the number of subdivisions of the grid at each of those levels. The number of subdivisions will define the granularity of the grid at each level.
- Since:
- 7.0
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates a new editable multilevel grid coordinate.int
getDivisions
(int aLevel, int aAxis) Returns the number of subdivisions in the grid at a given level along a given axis.int
Returns the number of levels the grid described consists of.Methods inherited from interface com.luciad.shape.ILcdBounded
getBounds
-
Field Details
-
X_AXIS
static final int X_AXISConstant for the X axis.- See Also:
-
Y_AXIS
static final int Y_AXISConstant for the Y axis.- See Also:
-
-
Method Details
-
getLevelCount
int getLevelCount()Returns the number of levels the grid described consists of.- Returns:
- the number of levels the grid described consists of.
-
getDivisions
int getDivisions(int aLevel, int aAxis) Returns the number of subdivisions in the grid at a given level along a given axis. The number of subdivisions is given compared to the previous level. -
createGridCoordinate
Creates a new editable multilevel grid coordinate.- Returns:
- a multilevel grid coordinate that can be edited
- Since:
- 2020.1
-