|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.geometry.xy.XyGrid
com.partnersoft.geometry.xy.XyGridSystem
public class XyGridSystem
Similar to a XyGrid. The XyGridSystem is a XyGrid with each internal cell divided by other XyGrids.
Additional layers are optional, but without extra XyGrids this class becomes a standard XyGrid.
Copyright 2008 Partner Software, Inc.
| Constructor Summary | |
|---|---|
XyGridSystem(double cellSize)
|
|
XyGridSystem(double cellWidth,
double cellHeight)
|
|
XyGridSystem(double originX,
double originY,
double cellSize)
|
|
XyGridSystem(double originX,
double originY,
double cellWidth,
double cellHeight)
|
|
XyGridSystem(XyPoint origin,
XySize cellSize)
|
|
XyGridSystem(XySize cellSize)
|
|
| Method Summary | |
|---|---|
void |
addLevel(int columns,
int rows)
Adds an internal XyGrid to be applied to each cell of the XyGrid above this XyGrid. |
XyGridCell[] |
allCellsContainingPoint(XyPoint point)
Returns an array of all XyGridCells containing this point. |
XyGridCell |
cellContainingPoint(XyPoint point)
Returns the innermost XyGridCell containing the passed XyPoint |
| Methods inherited from class com.partnersoft.geometry.xy.XyGrid |
|---|
cellContainingPoint, getCellSize, getOrigin, listCellsIntersecting |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XyGridSystem(double originX,
double originY,
double cellWidth,
double cellHeight)
public XyGridSystem(double originX,
double originY,
double cellSize)
public XyGridSystem(double cellWidth,
double cellHeight)
public XyGridSystem(double cellSize)
public XyGridSystem(XyPoint origin,
XySize cellSize)
public XyGridSystem(XySize cellSize)
| Method Detail |
|---|
public XyGridCell cellContainingPoint(XyPoint point)
cellContainingPoint in class XyGridpoint - - XyPoint to locate.
public XyGridCell[] allCellsContainingPoint(XyPoint point)
point - - XyPoint to locate.
public void addLevel(int columns,
int rows)
rows - - Number of rows for internal XyGrid to have.columns - - Number of columns for internal XyGrid to have.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||