Uses of Class
jtge.util.grid.Coordinate

Packages that use Coordinate
jtge.util.grid Handling of any kind of grid system. 
jtge.util.grid.builder Utilities classes helping to build hexagon grids. 
jtge.util.grid.direction Describes builders used to access drawing related information. 
jtge.util.grid.directiongroup Provides various direction groups strategies. 
jtge.util.grid.torus Torus classes. 
 

Uses of Coordinate in jtge.util.grid
 

Fields in jtge.util.grid declared as Coordinate
static Coordinate Coordinate.ORIGIN
          The origin of the coordinate system.
 

Methods in jtge.util.grid that return Coordinate
 Coordinate IGrid.getAdjacent(Coordinate coordinate, IDirection direction)
          returns the adjacent Coordinate given a Coordinate center and a Direction.
 Coordinate Grid.getAdjacent(Coordinate coordinate, IDirection direction)
          returns the adjacent Coordinate given a Coordinate center and a Direction.
Coordinate returned are always valid, an CoordinateOutOfBoundException is thrown if you asked for an impossible coordinate.
 

Methods in jtge.util.grid with parameters of type Coordinate
 void IGrid.setTile(ITile tile, Coordinate coordinate)
          Assign the supplied tile to this grid.
 ITile IGrid.getTile(Coordinate coordinate)
          Retrieve the tile object at the supplied coordinate.
 boolean IGrid.isValid(Coordinate coordinate)
          Checks if the coordinate supplied is valid for this grid.
 Coordinate IGrid.getAdjacent(Coordinate coordinate, IDirection direction)
          returns the adjacent Coordinate given a Coordinate center and a Direction.
 java.util.Iterator IGrid.adjacentIterator(Coordinate coordinate)
          Create an iterator on coordinates around a given coordinate.
 java.util.Iterator IGrid.adjacentTileIterator(Coordinate coordinate)
          Create an iterator on tiles around a given coordinate.
 void Grid.setTile(ITile tile, Coordinate coordinate)
          Assign the supplied tile to this grid.

If a tile is already present at coordinate() for the current grid it gets replaced.

 ITile Grid.getTile(Coordinate coordinate)
          Retrieve the tile object at the supplied coordinate.
 boolean Grid.isValid(Coordinate coordinate)
          Checks if the coordinate supplied is valid for this grid.
 Coordinate Grid.getAdjacent(Coordinate coordinate, IDirection direction)
          returns the adjacent Coordinate given a Coordinate center and a Direction.
Coordinate returned are always valid, an CoordinateOutOfBoundException is thrown if you asked for an impossible coordinate.
 java.util.Iterator Grid.adjacentIterator(Coordinate coordinate)
          Create an iterator on coordinates around a given coordinate.
 java.util.Iterator Grid.adjacentTileIterator(Coordinate coordinate)
          Create an iterator on tiles around a given coordinate.
 

Constructors in jtge.util.grid with parameters of type Coordinate
OutOfBoundException(Coordinate coordinate)
          Create a CoordinateOutOfBoundException.
LinearTileIterator(IGrid grid, Coordinate coordinate)
          Create a linear tile iterator starting a the given coordinate.
LinearIterator(IGrid grid, Coordinate coordinate)
          Create a linear tile iterator starting from a given coordinate.
 

Uses of Coordinate in jtge.util.grid.builder
 

Methods in jtge.util.grid.builder that return Coordinate
protected  Coordinate PeakHexagonBuilder.approximate(java.awt.Point point)
          Retrieve an approximated coordinate from a given point.
 Coordinate IHexagonBuilder.fromPixel(java.awt.Point point, IGrid grid)
          Picks the coordinate at a given screen coordinate in a grid.
protected  Coordinate FlatHexagonBuilder.approximate(java.awt.Point point)
          Retrieve an approximated coordinate from a given point.
 Coordinate AbstractHexagonBuilder.fromPixel(java.awt.Point point, IGrid grid)
          Picks the coordinate at a given screen coordinate in a grid.
protected abstract  Coordinate AbstractHexagonBuilder.approximate(java.awt.Point point)
          Retrieve an approximated coordinate from a given point.
 

Methods in jtge.util.grid.builder with parameters of type Coordinate
 java.awt.Polygon PeakHexagonBuilder.buildHexagon(Coordinate coordinate)
          Build an hexagon within a map.
 java.awt.Polygon IHexagonBuilder.buildHexagon(Coordinate coordinate)
          Build an hexagon within a map.
 java.awt.Polygon FlatHexagonBuilder.buildHexagon(Coordinate coordinate)
          Build an hexagon within a map.
 

Uses of Coordinate in jtge.util.grid.direction
 

Methods in jtge.util.grid.direction that return Coordinate
 Coordinate West.transform(Coordinate coordinate, IDirectionGroup directionGroup)
          Follow the direction from a given coordinate.
 Coordinate West.transform(Coordinate coordinate)
          Transforms a coordinate according to the general contract of the direction.
 Coordinate SouthWest.transform(Coordinate coordinate, IDirectionGroup directionGroup)
          Follow the direction from a given coordinate.
 Coordinate SouthWest.transform(Coordinate coordinate)
          Transforms a coordinate according to the general contract of the direction.
 Coordinate SouthEast.transform(Coordinate coordinate, IDirectionGroup directionGroup)
          Follow the direction from a given coordinate.
 Coordinate SouthEast.transform(Coordinate coordinate)
          Transforms a coordinate according to the general contract of the direction.
 Coordinate South.transform(Coordinate coordinate, IDirectionGroup directionGroup)
          Follow the direction from a given coordinate.
 Coordinate South.transform(Coordinate coordinate)
          Transforms a coordinate according to the general contract of the direction.
 Coordinate NorthWest.transform(Coordinate coordinate, IDirectionGroup directionGroup)
          Follow the direction from a given coordinate.
 Coordinate NorthWest.transform(Coordinate coordinate)
          Transforms a coordinate according to the general contract of the direction.
 Coordinate NorthEast.transform(Coordinate coordinate, IDirectionGroup directionGroup)
          Follow the direction from a given coordinate.
 Coordinate NorthEast.transform(Coordinate coordinate)
          Transforms a coordinate according to the general contract of the direction.
 Coordinate North.transform(Coordinate coordinate, IDirectionGroup directionGroup)
          Follow the direction from a given coordinate.
 Coordinate North.transform(Coordinate coordinate)
          Transforms a coordinate according to the general contract of the direction.
 Coordinate IDirection.transform(Coordinate coordinate, IDirectionGroup directionGroup)
          Follow the direction from a given coordinate.
 Coordinate East.transform(Coordinate coordinate, IDirectionGroup directionGroup)
          Follow the direction from a given coordinate.
 Coordinate East.transform(Coordinate coordinate)
          Transforms a coordinate according to the general contract of the direction.
 

Methods in jtge.util.grid.direction with parameters of type Coordinate
 Coordinate West.transform(Coordinate coordinate, IDirectionGroup directionGroup)
          Follow the direction from a given coordinate.
 Coordinate West.transform(Coordinate coordinate)
          Transforms a coordinate according to the general contract of the direction.
 Coordinate SouthWest.transform(Coordinate coordinate, IDirectionGroup directionGroup)
          Follow the direction from a given coordinate.
 Coordinate SouthWest.transform(Coordinate coordinate)
          Transforms a coordinate according to the general contract of the direction.
 Coordinate SouthEast.transform(Coordinate coordinate, IDirectionGroup directionGroup)
          Follow the direction from a given coordinate.
 Coordinate SouthEast.transform(Coordinate coordinate)
          Transforms a coordinate according to the general contract of the direction.
 Coordinate South.transform(Coordinate coordinate, IDirectionGroup directionGroup)
          Follow the direction from a given coordinate.
 Coordinate South.transform(Coordinate coordinate)
          Transforms a coordinate according to the general contract of the direction.
 Coordinate NorthWest.transform(Coordinate coordinate, IDirectionGroup directionGroup)
          Follow the direction from a given coordinate.
 Coordinate NorthWest.transform(Coordinate coordinate)
          Transforms a coordinate according to the general contract of the direction.
 Coordinate NorthEast.transform(Coordinate coordinate, IDirectionGroup directionGroup)
          Follow the direction from a given coordinate.
 Coordinate NorthEast.transform(Coordinate coordinate)
          Transforms a coordinate according to the general contract of the direction.
 Coordinate North.transform(Coordinate coordinate, IDirectionGroup directionGroup)
          Follow the direction from a given coordinate.
 Coordinate North.transform(Coordinate coordinate)
          Transforms a coordinate according to the general contract of the direction.
 Coordinate IDirection.transform(Coordinate coordinate, IDirectionGroup directionGroup)
          Follow the direction from a given coordinate.
 Coordinate East.transform(Coordinate coordinate, IDirectionGroup directionGroup)
          Follow the direction from a given coordinate.
 Coordinate East.transform(Coordinate coordinate)
          Transforms a coordinate according to the general contract of the direction.
 

Uses of Coordinate in jtge.util.grid.directiongroup
 

Methods in jtge.util.grid.directiongroup that return Coordinate
 Coordinate IDirectionGroup.transform(Coordinate coordinate, West direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate IDirectionGroup.transform(Coordinate coordinate, East direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate IDirectionGroup.transform(Coordinate coordinate, North direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate IDirectionGroup.transform(Coordinate coordinate, NorthEast direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate IDirectionGroup.transform(Coordinate coordinate, NorthWest direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate IDirectionGroup.transform(Coordinate coordinate, South direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate IDirectionGroup.transform(Coordinate coordinate, SouthEast direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate IDirectionGroup.transform(Coordinate coordinate, SouthWest direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate FourDirectionGroup.transform(Coordinate coordinate, NorthEast direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate FourDirectionGroup.transform(Coordinate coordinate, NorthWest direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate FourDirectionGroup.transform(Coordinate coordinate, SouthEast direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate FourDirectionGroup.transform(Coordinate coordinate, SouthWest direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate EightDirectionGroup.transform(Coordinate coordinate, NorthEast direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate EightDirectionGroup.transform(Coordinate coordinate, NorthWest direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate EightDirectionGroup.transform(Coordinate coordinate, SouthEast direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate EightDirectionGroup.transform(Coordinate coordinate, SouthWest direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate AbstractSquareDirectionGroup.transform(Coordinate coordinate, West direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate AbstractSquareDirectionGroup.transform(Coordinate coordinate, East direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate AbstractSquareDirectionGroup.transform(Coordinate coordinate, North direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate AbstractSquareDirectionGroup.transform(Coordinate coordinate, South direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate AbstractPeakHexagonDirectionGroup.transform(Coordinate coordinate, NorthEast direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate AbstractPeakHexagonDirectionGroup.transform(Coordinate coordinate, NorthWest direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate AbstractPeakHexagonDirectionGroup.transform(Coordinate coordinate, SouthEast direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate AbstractPeakHexagonDirectionGroup.transform(Coordinate coordinate, SouthWest direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate AbstractPeakHexagonDirectionGroup.transform(Coordinate coordinate, North direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate AbstractPeakHexagonDirectionGroup.transform(Coordinate coordinate, South direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate AbstractPeakHexagonDirectionGroup.transform(Coordinate coordinate, West direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate AbstractPeakHexagonDirectionGroup.transform(Coordinate coordinate, East direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate AbstractFlatHexagonDirectionGroup.transform(Coordinate coordinate, NorthEast direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate AbstractFlatHexagonDirectionGroup.transform(Coordinate coordinate, NorthWest direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate AbstractFlatHexagonDirectionGroup.transform(Coordinate coordinate, SouthEast direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate AbstractFlatHexagonDirectionGroup.transform(Coordinate coordinate, SouthWest direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate AbstractFlatHexagonDirectionGroup.transform(Coordinate coordinate, North direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate AbstractFlatHexagonDirectionGroup.transform(Coordinate coordinate, South direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate AbstractFlatHexagonDirectionGroup.transform(Coordinate coordinate, West direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate AbstractFlatHexagonDirectionGroup.transform(Coordinate coordinate, East direction)
          Retrieve the coordinate next to another in a given direction.
 

Methods in jtge.util.grid.directiongroup with parameters of type Coordinate
protected  boolean PeakShiftedHexagonDirectionGroup.shift(Coordinate coordinate)
          Test if a given coordinate must be shifted.
protected  boolean PeakHexagonDirectionGroup.shift(Coordinate coordinate)
          Test if a given coordinate must be shifted.
 Coordinate IDirectionGroup.transform(Coordinate coordinate, West direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate IDirectionGroup.transform(Coordinate coordinate, East direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate IDirectionGroup.transform(Coordinate coordinate, North direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate IDirectionGroup.transform(Coordinate coordinate, NorthEast direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate IDirectionGroup.transform(Coordinate coordinate, NorthWest direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate IDirectionGroup.transform(Coordinate coordinate, South direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate IDirectionGroup.transform(Coordinate coordinate, SouthEast direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate IDirectionGroup.transform(Coordinate coordinate, SouthWest direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate FourDirectionGroup.transform(Coordinate coordinate, NorthEast direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate FourDirectionGroup.transform(Coordinate coordinate, NorthWest direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate FourDirectionGroup.transform(Coordinate coordinate, SouthEast direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate FourDirectionGroup.transform(Coordinate coordinate, SouthWest direction)
          Retrieve the coordinate next to another in a given direction.
protected  boolean FlatShiftedHexagonDirectionGroup.shift(Coordinate coordinate)
          Test if a given coordinate must be shifted.
protected  boolean FlatHexagonDirectionGroup.shift(Coordinate coordinate)
          Test if a given coordinate must be shifted.
 Coordinate EightDirectionGroup.transform(Coordinate coordinate, NorthEast direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate EightDirectionGroup.transform(Coordinate coordinate, NorthWest direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate EightDirectionGroup.transform(Coordinate coordinate, SouthEast direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate EightDirectionGroup.transform(Coordinate coordinate, SouthWest direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate AbstractSquareDirectionGroup.transform(Coordinate coordinate, West direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate AbstractSquareDirectionGroup.transform(Coordinate coordinate, East direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate AbstractSquareDirectionGroup.transform(Coordinate coordinate, North direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate AbstractSquareDirectionGroup.transform(Coordinate coordinate, South direction)
          Retrieve the coordinate next to another in a given direction.
protected abstract  boolean AbstractPeakHexagonDirectionGroup.shift(Coordinate coordinate)
          Test if a given coordinate must be shifted.
 Coordinate AbstractPeakHexagonDirectionGroup.transform(Coordinate coordinate, NorthEast direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate AbstractPeakHexagonDirectionGroup.transform(Coordinate coordinate, NorthWest direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate AbstractPeakHexagonDirectionGroup.transform(Coordinate coordinate, SouthEast direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate AbstractPeakHexagonDirectionGroup.transform(Coordinate coordinate, SouthWest direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate AbstractPeakHexagonDirectionGroup.transform(Coordinate coordinate, North direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate AbstractPeakHexagonDirectionGroup.transform(Coordinate coordinate, South direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate AbstractPeakHexagonDirectionGroup.transform(Coordinate coordinate, West direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate AbstractPeakHexagonDirectionGroup.transform(Coordinate coordinate, East direction)
          Retrieve the coordinate next to another in a given direction.
protected abstract  boolean AbstractFlatHexagonDirectionGroup.shift(Coordinate coordinate)
          Test if a given coordinate must be shifted.
 Coordinate AbstractFlatHexagonDirectionGroup.transform(Coordinate coordinate, NorthEast direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate AbstractFlatHexagonDirectionGroup.transform(Coordinate coordinate, NorthWest direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate AbstractFlatHexagonDirectionGroup.transform(Coordinate coordinate, SouthEast direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate AbstractFlatHexagonDirectionGroup.transform(Coordinate coordinate, SouthWest direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate AbstractFlatHexagonDirectionGroup.transform(Coordinate coordinate, North direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate AbstractFlatHexagonDirectionGroup.transform(Coordinate coordinate, South direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate AbstractFlatHexagonDirectionGroup.transform(Coordinate coordinate, West direction)
          Retrieve the coordinate next to another in a given direction.
 Coordinate AbstractFlatHexagonDirectionGroup.transform(Coordinate coordinate, East direction)
          Retrieve the coordinate next to another in a given direction.
 

Uses of Coordinate in jtge.util.grid.torus
 

Methods in jtge.util.grid.torus that return Coordinate
 Coordinate VerticalTorus.transform(Coordinate coordinate)
          Modifiy the coordinate according to the Torus implementation.
 Coordinate NullTorus.transform(Coordinate coordinate)
          Modifiy the coordinate according to the Torus implementation.
 Coordinate ITorus.transform(Coordinate coordinate)
          Modifiy the coordinate according to the Torus implementation.
 Coordinate HorizontalTorus.transform(Coordinate coordinate)
          Modifiy the coordinate according to the Torus implementation.
 Coordinate CompleteTorus.transform(Coordinate coordinate)
          Modifiy the coordinate according to the Torus implementation.
 

Methods in jtge.util.grid.torus with parameters of type Coordinate
 Coordinate VerticalTorus.transform(Coordinate coordinate)
          Modifiy the coordinate according to the Torus implementation.
 Coordinate NullTorus.transform(Coordinate coordinate)
          Modifiy the coordinate according to the Torus implementation.
 Coordinate ITorus.transform(Coordinate coordinate)
          Modifiy the coordinate according to the Torus implementation.
 Coordinate HorizontalTorus.transform(Coordinate coordinate)
          Modifiy the coordinate according to the Torus implementation.
 Coordinate CompleteTorus.transform(Coordinate coordinate)
          Modifiy the coordinate according to the Torus implementation.
 



Copyright © 2003-2005 . All Rights Reserved.