public class FillPlan extends Object
Modifier and Type | Method and Description |
---|---|
static FillPlan |
createPlan(Surface surface,
DataSpec dataSpec,
DataGeom geom,
int icPos,
DataStore dataStore)
Creates a fill plan object for point cloud data.
|
static FillPlan |
createPlanArrays(Surface surface,
DataSpec dataSpec,
DataGeom geom,
java.util.function.Function<Tuple,XYArrayData> xyReader,
DataStore dataStore)
Creates a fill plan object for XY array data.
|
Binner |
getBinner()
Returns the object containing density map pixel counts.
|
Point |
getCpXhi()
Returns the closest point to the upper X boundary
that falls outside the grid.
|
Point |
getCpXlo()
Returns closest point to the lower X boundary
that falls outside the grid.
|
Point |
getCpYhi()
Returns the closest point to the upper Y boundary
that falls outside the grid.
|
Point |
getCpYlo()
Returns the closest point to the lower Y boundary
that falls outside the grid.
|
Gridder |
getGridder()
Returns the object encapsulating grid geometry.
|
int[] |
getXhis()
Returns array of bins containing all points below each pixel column.
|
int[] |
getXlos()
Returns array of bins containing all points above each pixel column.
|
int[] |
getYhis()
Returns array of bins containing all points to right of each pixel row.
|
int[] |
getYlos()
Returns array of bins containing all points to left of each pixel row.
|
boolean |
matches(DataGeom geom,
DataSpec dataSpec,
Surface surface)
Indicates whether this map's data is valid for a particular context.
|
public Binner getBinner()
public Gridder getGridder()
public int[] getXlos()
public int[] getXhis()
public int[] getYlos()
public int[] getYhis()
public Point getCpXlo()
public Point getCpXhi()
public Point getCpYlo()
public Point getCpYhi()
public boolean matches(DataGeom geom, DataSpec dataSpec, Surface surface)
geom
- data geomdataSpec
- data specificationsurface
- plot surfacepublic static FillPlan createPlan(Surface surface, DataSpec dataSpec, DataGeom geom, int icPos, DataStore dataStore)
surface
- plot surfacedataSpec
- data specificationgeom
- data geomicPos
- position coordinate indexdataStore
- data storepublic static FillPlan createPlanArrays(Surface surface, DataSpec dataSpec, DataGeom geom, java.util.function.Function<Tuple,XYArrayData> xyReader, DataStore dataStore)
surface
- plot surfacedataSpec
- data specificationgeom
- data geomxyReader
- function to map tuples to XYArrayData;
null returns mean don't plot that tupledataStore
- data storeCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.