- java.lang.Object
-
- spice.basic.Vector3
-
- spice.basic.VelocityVector
-
public class VelocityVector extends Vector3
Class VelocityVector represents velocities of ephemeris objects relative to other objects. VelocityVectors implicitly carry units of kilometers/second.Version 1.0.0 22-DEC-2009 (NJB)
-
-
Constructor Summary
Constructors Constructor Description VelocityVector()
Default constructor: create a zero-filled velocity vector.VelocityVector(Body target, Time t, ReferenceFrame ref, AberrationCorrection abcorr, Body observer)
Construct aberration-corrected VelocityVector from ephemeris data.VelocityVector(Vector3 v)
Construct a VelocityVector from a Vector3 instance.VelocityVector(VelocityVector velocity)
Copy constructor: create a deep copy of another VelocityVector.
-
Method Summary
Modifier and Type Method Description java.lang.String
toString()
Create a String representation of this PositionVector.
-
-
-
Constructor Detail
-
VelocityVector
public VelocityVector()
Default constructor: create a zero-filled velocity vector.
-
VelocityVector
public VelocityVector(VelocityVector velocity)
Copy constructor: create a deep copy of another VelocityVector.- Parameters:
velocity
-
-
VelocityVector
public VelocityVector(Vector3 v)
Construct a VelocityVector from a Vector3 instance.- Parameters:
v
-
-
VelocityVector
public VelocityVector(Body target, Time t, ReferenceFrame ref, AberrationCorrection abcorr, Body observer) throws SpiceException
Construct aberration-corrected VelocityVector from ephemeris data.- Parameters:
target
-observer
-t
-abcorr
-ref
-- Throws:
SpiceException
-
-