Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama.mp
Class Velocity

java.lang.Object
  |
  +--oracle.panama.mp.Velocity

public class Velocity
extends java.lang.Object

A Velocity class.


Constructor Summary
Velocity(double value, double bearing)
           

 

Method Summary
 double getBearingAngle()
          Get the bearing angle of the direction of the velocity.
 double getValue()
          Get the value of the velocity, in meters/second.
 java.lang.String toString()
          toString.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

Velocity

public Velocity(double value,
                double bearing)
Method Detail

getValue

public double getValue()
Get the value of the velocity, in meters/second.
Returns:
a double representing the value.

getBearingAngle

public double getBearingAngle()
Get the bearing angle of the direction of the velocity. It is in degrees, from the North and clockwise.
Returns:
a double representing the bearing angle.

toString

public java.lang.String toString()
toString.
Overrides:
toString in class java.lang.Object
Returns:
A string representation of a Velocity.

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.