GP
Interface Orientable

All Known Subinterfaces:
Graphic

public interface Orientable

This defines the interface for all object that have an orientation associated with them.


Method Summary
 Orientation GetOrientation()
          This method should return the current orientation of the object.
 Position GetPivot()
           
 void SetOrientation(Orientation orientation)
          This method should set the current orientation of the object.
 void Turn(double angle)
           
 void Turn(double angle, Position pivot)
           
 void Turn(Orientation change)
           
 void Turn(Orientation change, Position pivot)
           
 void Turn(Value change)
           
 void Turn(Value change, Position pivot)
           
 

Method Detail

SetOrientation

public void SetOrientation(Orientation orientation)
This method should set the current orientation of the object.
Parameters:
orientation - the new orientation

GetOrientation

public Orientation GetOrientation()
This method should return the current orientation of the object.
Returns:
the current orientation of the object

Turn

public void Turn(double angle)

Turn

public void Turn(Value change)

Turn

public void Turn(Orientation change)

Turn

public void Turn(double angle,
                 Position pivot)

Turn

public void Turn(Value change,
                 Position pivot)

Turn

public void Turn(Orientation change,
                 Position pivot)

GetPivot

public Position GetPivot()