Uses of Class
de.gsi.chart.renderer.spi.hexagon.Hexagon
-
Packages that use Hexagon Package Description de.gsi.chart.renderer.spi.hexagon -
-
Uses of Hexagon in de.gsi.chart.renderer.spi.hexagon
Methods in de.gsi.chart.renderer.spi.hexagon that return Hexagon Modifier and Type Method Description HexagonHexagonMap. addHexagon(Hexagon hexagon)Add a Hexagon to the HexagonMapHexagonHexagonMap. getHexagon(int q, int r)Retrieves the Hexagon at the specified position (axial coordinates)HexagonHexagonMap. getHexagonContainingPixel(int x, int y)HexagonHexagon. getNeighbour(HexagonMap.Direction direction)Finds the neighbour of this HexagonMethods in de.gsi.chart.renderer.spi.hexagon that return types with arguments of type Hexagon Modifier and Type Method Description java.util.Collection<Hexagon>HexagonMap. getAllHexagons()java.util.List<Hexagon>Hexagon. getHexagonsInRingArea(int radius)Returns all Hexagons that are located within a certain distance from herejava.util.List<Hexagon>Hexagon. getHexagonsOnRingEdge(int radius)Returns all Hexagons that are located a certain distance from herejava.util.List<Hexagon>Hexagon. getLine(Hexagon origin, Hexagon destination)Finds all Hexagons that are on a line between this and destinationjava.util.List<Hexagon>Hexagon. getNeighbours()Finds all neighbours of this Hexagonjava.util.List<Hexagon>Hexagon. getPathTo(Hexagon destination)Finds the cheapest path from here to the destination.java.util.List<Hexagon>Hexagon. getPathTo(Hexagon destination, IPathInfoSupplier pathInfoSupplier)Finds the cheapest path from start to the goal.java.util.List<Hexagon>Hexagon. getVisibleHexes(int visibleRange)Calculates all Hexagons that are visible from this Hexagon.Methods in de.gsi.chart.renderer.spi.hexagon with parameters of type Hexagon Modifier and Type Method Description HexagonHexagonMap. addHexagon(Hexagon hexagon)Add a Hexagon to the HexagonMapHexagonMap.DirectionHexagon. getDirectionTo(Hexagon target)Finds the direction (NORTHWEST, NORTHEAST, EAST, SOUTHEAST, SOUTHWEST or WEST) If target is a neighbour, then it is quite simple.intHexagon. getDistance(Hexagon target)Calculates the distance (number of hexagons) to the target hexagonjava.util.List<Hexagon>Hexagon. getLine(Hexagon origin, Hexagon destination)Finds all Hexagons that are on a line between this and destinationintIPathInfoSupplier. getMovementCost(Hexagon from, Hexagon to)java.util.List<Hexagon>Hexagon. getPathTo(Hexagon destination)Finds the cheapest path from here to the destination.java.util.List<Hexagon>Hexagon. getPathTo(Hexagon destination, IPathInfoSupplier pathInfoSupplier)Finds the cheapest path from start to the goal.voidHexagonCallback. handle(Hexagon hexagon)booleanIPathInfoSupplier. isBlockingPath(Hexagon hexagon)voidHexagonMap. removeHexagon(Hexagon hexagon)Removes a Hexagon from the HexagonMap
-