Interface Transformation

  • All Implemented Interfaces:

    
    public interface Transformation<S extends Vector<S>>
    
                        

    Defines a generic transformation of a generic shape. The operations allowed depend on the space the shape belongs to. This interface is meant to be extended.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit origin(S position) Performs an absolute translation to the provided position.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • origin

         abstract Unit origin(S position)

        Performs an absolute translation to the provided position.

        Parameters:
        position - the new origin of the shape