package jcliffford

jclifford
Class Versor

java.lang.Object
  extended by jclifford.Versor
All Implemented Interfaces:
java.lang.Comparable

 class Versor
extends java.lang.Object
implements java.lang.Comparable

This class represents a basis versor.

It is an utility class for the BladeTreeSet class.

Version:

0.9

Author:

Realized by Giorgio Vassallo, Pietro Brignola, November 2002.

See Also:
Value

Field Summary
 int versor
          Basis versor.
 
Constructor Summary
Versor(int versor)
          Creates and returns a Versor object representing a basis versor.
 
Method Summary
 java.lang.Object clone()
          Creates and returns an new Object deeply cloning this Object.
 int compareTo(java.lang.Object object)
          Compare this object with another comparing versor field.
 java.lang.String toString()
          Returns a string representation of the versor.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

versor

public int versor
Basis versor.

Constructor Detail

Versor

public Versor(int versor)
Creates and returns a Versor object representing a basis versor.

Parameters:
versor - the int representing the basis versor.
Method Detail

clone

public java.lang.Object clone()
Creates and returns an new Object deeply cloning this Object.

Overrides:
clone in class java.lang.Object

compareTo

public int compareTo(java.lang.Object object)
Compare this object with another comparing versor field.

Specified by:
compareTo in interface java.lang.Comparable

toString

public java.lang.String toString()
Returns a string representation of the versor.

Overrides:
toString in class java.lang.Object
Returns:
the string representation of the versor.

package jclifford

package jclifford API Specification