Uses of Class
de.gsi.chart.renderer.spi.hexagon.GridPosition
-
Packages that use GridPosition Package Description de.gsi.chart.renderer.spi.hexagon -
-
Uses of GridPosition in de.gsi.chart.renderer.spi.hexagon
Fields in de.gsi.chart.renderer.spi.hexagon declared as GridPosition Modifier and Type Field Description GridPositionHexagon. positionMethods in de.gsi.chart.renderer.spi.hexagon that return GridPosition Modifier and Type Method Description GridPositionGridPosition. clone()GridPositionGridPosition. getNeighborPosition(HexagonMap.Direction direction)Finds the adjacent position in the specified direction from this positionstatic GridPositionGridPosition. hexRound(double q, double r)Finds the position that best matches given non-integer coordinatesstatic GridPositionGridDrawer. pixelToPosition(int x, int y, int hexagonHeight, int xPadding, int yPadding)Methods in de.gsi.chart.renderer.spi.hexagon that return types with arguments of type GridPosition Modifier and Type Method Description java.util.List<GridPosition>GridPosition. getPositionsInCircleArea(int radius)java.util.List<GridPosition>GridPosition. getPositionsOnCircleEdge(int radius)Finds all positions that are on the edge of a circle in which this position is the centre.java.util.List<GridPosition>GridPosition. line(GridPosition destination)Finds all GridPositions that are on a getLine between this and the given position (the array includes this and the destination positions)Methods in de.gsi.chart.renderer.spi.hexagon with parameters of type GridPosition Modifier and Type Method Description HexagonMap.DirectionGridPosition. getDirectionTo(GridPosition otherPosition)intGridPosition. getDistance(GridPosition target)static intGridPosition. getDistance(GridPosition a, GridPosition b)Calculates the grid distance between two positionsHexagonHexagonMap. getHexagon(GridPosition position)booleanGridPosition. isAdjacent(GridPosition otherPosition)java.util.List<GridPosition>GridPosition. line(GridPosition destination)Finds all GridPositions that are on a getLine between this and the given position (the array includes this and the destination positions)
-