de.fhg.igd.earth.utils
Class cPoint3d

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

public class cPoint3d
extends javax.vecmath.Point3d
implements Serializable, Cloneable

A 3 element point 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
(package private) static double factor
          deg->rad factor
(package private) static double scaleZ
          Flat->Sphere z-factor
 
Fields inherited from class javax.vecmath.Point3d
 
Fields inherited from class javax.vecmath.Tuple3d
x, y, z
 
Constructor Summary
cPoint3d()
          Creates an instance of this class (0,0,0)
cPoint3d(cPoint3d p)
          Creates an instance of this class with the given point.
cPoint3d(cPoint3d p, double radius)
          Creates an instance of this class with the given point and radius.
cPoint3d(cVector3d v)
          Creates an instance of this class with the given cVector3d.
cPoint3d(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.Point3d
distance, distanceL1, distanceLinf, distanceSquared, project
 
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
 

Field Detail

factor

static final double factor
deg->rad factor

See Also:
Constant Field Values

scaleZ

static final double scaleZ
Flat->Sphere z-factor

See Also:
Constant Field Values
Constructor Detail

cPoint3d

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


cPoint3d

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

Parameters:
p - Point

cPoint3d

public cPoint3d(cPoint3d p,
                double radius)
Creates an instance of this class with the given point and radius. For auto-translate Flat2Sphere

Parameters:
p - Point
radius - Radius

cPoint3d

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


cPoint3d

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

Parameters:
v - cVector3d
Method Detail

clone

public Object clone()
Clones this object



Copyright © Fraunhofer Gesellschaft. All Rights Reserved.