jtge.util.grid.directiongroup
Class PeakHexagonDirectionGroup

java.lang.Object
  extended byjtge.util.grid.directiongroup.AbstractDirectionGroup
      extended byjtge.util.grid.directiongroup.AbstractPeakHexagonDirectionGroup
          extended byjtge.util.grid.directiongroup.PeakHexagonDirectionGroup
All Implemented Interfaces:
IDirectionGroup

public class PeakHexagonDirectionGroup
extends AbstractPeakHexagonDirectionGroup

An HexagonDirectionGroup to be used with peak hexagon grid.

Version:
$Id: PeakHexagonDirectionGroup.java,v 1.1 2005/09/09 18:24:28 mat007 Exp $
Author:
Jean-Laurent Fabre de Morlhon

Constructor Summary
PeakHexagonDirectionGroup()
           
 
Method Summary
protected  boolean shift(Coordinate coordinate)
          Test if a given coordinate must be shifted.
 
Methods inherited from class jtge.util.grid.directiongroup.AbstractPeakHexagonDirectionGroup
transform, transform, transform, transform, transform, transform, transform, transform
 
Methods inherited from class jtge.util.grid.directiongroup.AbstractDirectionGroup
add, getNames, getShortNames, iterator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PeakHexagonDirectionGroup

public PeakHexagonDirectionGroup()
Method Detail

shift

protected final boolean shift(Coordinate coordinate)
Test if a given coordinate must be shifted.

Specified by:
shift in class AbstractPeakHexagonDirectionGroup
Parameters:
coordinate - the coordinate
Returns:
whether the coordinate must be shifted or not


Copyright © 2003-2005 . All Rights Reserved.