public interface BinningAlg
| Modifier and Type | Method and Description |
|---|---|
BinningConfig |
getBinningConfig()
Gets the binning configuration
|
void |
getCell(double x, double y, int[] cell)
Gets the row and column of the cell that contains the given point.
|
void |
getCell(long cellId, int[] cell)
Gets the row and column of the cell with the given id
|
long |
getCellId(int[] cell)
Gets the id of the cell represented by the given row and column
|
void |
getCellMbr(int[] cell, double[] cellMbr)
Gets the minimum bounding box of the given cell's row and column
|
void |
getCellOrdinates(int[] cell, double[] cellOrds)
Gets the ordinates of the given cell
|
int |
getCellOrdinatesLength()
Gets the number of ordinates that contains any cell created by this algorithm
|
boolean |
isValidCell(int[] cell)
Indicates whether a given cell is valid within the current binning configuration or not
|
BinningConfig getBinningConfig()
void getCell(double x,
double y,
int[] cell)
x - The point`s x ordinatey - The point`s y ordinatecell - An output parameter which will hold the cell's row and column
void getCell(long cellId,
int[] cell)
cellId - the cell idcell - An output parameter which will hold the cell's row and columnlong getCellId(int[] cell)
cell - a cell's row and column
void getCellMbr(int[] cell,
double[] cellMbr)
cell - a cell's row and columncellMbr - An output parameter which will hold the cell's mbr
void getCellOrdinates(int[] cell,
double[] cellOrds)
cell - a cell's row and columncellOrds - An output parameter which will hold the cell's ordinatesint getCellOrdinatesLength()
boolean isValidCell(int[] cell)
cell - a cell's row and columnCopyright © 2016 Oracle and/or its affiliates. All Rights Reserved.