de.fhg.igd.earth.utils
Class cVector3f

java.lang.Object
  extended byjavax.vecmath.Tuple3f
      extended byjavax.vecmath.Vector3f
          extended byde.fhg.igd.earth.utils.cVector3f
All Implemented Interfaces:
Cloneable, Serializable

public class cVector3f
extends javax.vecmath.Vector3f
implements Serializable, Cloneable

A 3-element vector that is represented by 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
(package private) static float factor
          deg->rad factor
 
Fields inherited from class javax.vecmath.Vector3f
 
Fields inherited from class javax.vecmath.Tuple3f
x, y, z
 
Constructor Summary
cVector3f()
          Creates an instance of this class (0,0,0)
cVector3f(cVector3f v)
          Creates an instance of this class with the given cVector3f.
cVector3f(cVector3f p, float radius)
          Creates an instance of this class with the given vector and radius.
cVector3f(float x, float y, float z)
          Creates an instance of this class with the given coordinates.
 
Method Summary
 Object clone()
          Clones this object
 
Methods inherited from class javax.vecmath.Vector3f
angle, cross, dot, length, lengthSquared, normalize, normalize
 
Methods inherited from class javax.vecmath.Tuple3f
absolute, absolute, add, add, clamp, clamp, clampMax, clampMax, clampMin, clampMin, epsilonEquals, equals, equals, get, 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
 

Field Detail

factor

static final float factor
deg->rad factor

See Also:
Constant Field Values
Constructor Detail

cVector3f

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


cVector3f

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

Parameters:
v - cVector3f

cVector3f

public cVector3f(cVector3f p,
                 float radius)
Creates an instance of this class with the given vector and radius. For auto-translate Flat2Sphere

Parameters:
p - cVector3f
radius - Radius

cVector3f

public cVector3f(float x,
                 float y,
                 float z)
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.