jtge.util.grid.torus
Class NullTorus

java.lang.Object
  extended byjtge.util.grid.torus.NullTorus
All Implemented Interfaces:
ITorus

public class NullTorus
extends java.lang.Object
implements ITorus

Acts as a no-op torus.

Version:
$Id: NullTorus.java,v 1.5 2005/09/09 22:12:34 mat007 Exp $
Author:
Jean-Laurent Fabre de Morlhon

Constructor Summary
NullTorus()
           
 
Method Summary
 Coordinate transform(Coordinate coordinate)
          Modifiy the coordinate according to the Torus implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullTorus

public NullTorus()
Method Detail

transform

public final Coordinate transform(Coordinate coordinate)
Modifiy the coordinate according to the Torus implementation.

Specified by:
transform in interface ITorus
Parameters:
coordinate - the coordinate to transform
Returns:
the transformed coordinate


Copyright © 2003-2005 . All Rights Reserved.