de.fhg.igd.earth.utils
Class cPoint2f

java.lang.Object
  extended byjavax.vecmath.Tuple2f
      extended byjavax.vecmath.Point2f
          extended byde.fhg.igd.earth.utils.cPoint2f
All Implemented Interfaces:
Cloneable, Serializable

public class cPoint2f
extends javax.vecmath.Point2f
implements Serializable, Cloneable

A 2 element point that is represented by floating point x,y coordinates Title : Earth Copyright : Copyright (c) 2001 Organisation : IGD FhG

Version:
: 1.0
Author:
: Werner Beutel
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.vecmath.Point2f
 
Fields inherited from class javax.vecmath.Tuple2f
x, y
 
Constructor Summary
cPoint2f()
          Creates an instance of this class (0,0)
cPoint2f(cPoint2f p)
          Creates an instance of this class with the given point.
cPoint2f(float x, float y)
          Creates an instance of this class with the given coordinates.
 
Method Summary
 Object clone()
          Clones this object
 
Methods inherited from class javax.vecmath.Point2f
distance, distanceL1, distanceLinf, distanceSquared
 
Methods inherited from class javax.vecmath.Tuple2f
absolute, absolute, add, add, clamp, clamp, clampMax, clampMax, clampMin, clampMin, epsilonEquals, equals, equals, get, hashCode, interpolate, interpolate, negate, negate, scale, scale, scaleAdd, scaleAdd, set, set, set, set, sub, sub, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

cPoint2f

public cPoint2f()
Creates an instance of this class (0,0)


cPoint2f

public cPoint2f(cPoint2f p)
Creates an instance of this class with the given point.

Parameters:
p - Point

cPoint2f

public cPoint2f(float x,
                float y)
Creates an instance of this class with the given coordinates.

Method Detail

clone

public Object clone()
Clones this object



Copyright © Fraunhofer Gesellschaft. All Rights Reserved.