alice.util
Class P2d

java.lang.Object
  extended byalice.util.P2d
All Implemented Interfaces:
java.io.Serializable

public class P2d
extends java.lang.Object
implements java.io.Serializable

2-dimensional point objects are completely state-less

See Also:
Serialized Form

Field Summary
 float x
           
 float y
           
 
Constructor Summary
P2d(float x, float y)
           
 
Method Summary
 V2d sub(P2d v)
           
 P2d sum(V2d v)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

x

public float x

y

public float y
Constructor Detail

P2d

public P2d(float x,
           float y)
Method Detail

sum

public P2d sum(V2d v)

sub

public V2d sub(P2d v)

toString

public java.lang.String toString()


DEIS, Universita' di Bologna, Sede di Cesena