de.fhg.igd.earth.utils
Class cVector3d

java.lang.Object
  extended byjavax.vecmath.Tuple3d
      extended byjavax.vecmath.Vector3d
          extended byde.fhg.igd.earth.utils.cVector3d
All Implemented Interfaces:
Cloneable, Serializable

public class cVector3d
extends javax.vecmath.Vector3d
implements Serializable, Cloneable

A 3-element vector that is represented by double-precision floating point x,y,z 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.Vector3d
 
Fields inherited from class javax.vecmath.Tuple3d
x, y, z
 
Constructor Summary
cVector3d()
          Creates an instance of this class (0,0,0)
cVector3d(cPoint3d p)
          Creates an instance of this class with the given point.
cVector3d(cVector3d v)
          Creates an instance of this class with the given cVector3d.
cVector3d(double x, double y, double z)
          Creates an instance of this class with the given coordinates.
 
Method Summary
 Object clone()
          Clones this object
 
Methods inherited from class javax.vecmath.Vector3d
angle, cross, dot, length, lengthSquared, normalize, normalize
 
Methods inherited from class javax.vecmath.Tuple3d
absolute, absolute, add, add, clamp, clamp, clamp, clamp, clampMax, clampMax, clampMax, clampMax, clampMin, clampMin, clampMin, clampMin, epsilonEquals, equals, equals, get, get, hashCode, interpolate, interpolate, interpolate, interpolate, negate, negate, scale, scale, scaleAdd, 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

cVector3d

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


cVector3d

public cVector3d(cVector3d v)
Creates an instance of this class with the given cVector3d.

Parameters:
v - cVector3d

cVector3d

public cVector3d(double x,
                 double y,
                 double z)
Creates an instance of this class with the given coordinates.


cVector3d

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

Parameters:
p - Point
Method Detail

clone

public Object clone()
Clones this object



Copyright © Fraunhofer Gesellschaft. All Rights Reserved.