Class Grid.Sector
raft.kilavuz.grid
java.lang.Object
  raft.kilavuz.grid.Grid.Sector
All Implemented Interfaces:
Enclosing class:

public class Grid.Sector
extends Object
implements Serializable
a rectangular region which is freely traversable with simple steps

Field Summary
int
id
id of this sector, assigned during creation
Method Summary
float[]
getBounds()
returns bounds as minX, maxX, minY, maxY, minZ, maxZ in grid space
getCells()
returns an unmodifiable view of cells this sector consists of
getGrid()
returns enclosing grid instance
toString()
returns a string representation of this sector
Field Detail
id
public final int id
id of this sector, assigned during creation
Method Detail
getCells
public Collection<Grid.CellgetCells()
returns an unmodifiable view of cells this sector consists of

getGrid
public Grid getGrid()
returns enclosing grid instance

getBounds
public float[] getBounds()
returns bounds as minX, maxX, minY, maxY, minZ, maxZ in grid space

toString
public String toString()
returns a string representation of this sector
Overrides:
toString in class Object
Java API documentation generated with DocFlex/Doclet v1.5.2
DocFlex/Doclet is both a multi-format Javadoc doclet and a free edition of DocFlex/Javadoc. If you need to customize your Javadoc without writing a full-blown doclet from scratch, DocFlex/Javadoc may be the only tool able to help you! Find out more at www.docflex.com