Boeing Simulation 3.1 API Specification

objects
Class Point

java.lang.Object
  |
  +--objects.Point
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Location

public class Point
extends Object
implements Serializable

An immutable, 2D point representation.

Version:
$Revision: 1.8 $
Author:
Dave Jurgens
See Also:
Serialized Form

Field Summary
private static long serialVersionUID
           
protected  double x
           
protected  double y
           
 
Constructor Summary
Point(double x, double y)
           
 
Method Summary
 double getX()
          Returns the x value on the unit square.
 double getY()
          Returns the y value on the unit square.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

x

protected double x

y

protected double y
Constructor Detail

Point

public Point(double x,
             double y)
Method Detail

getX

public double getX()
Returns the x value on the unit square.


getY

public double getY()
Returns the y value on the unit square.


Boeing Simulation 3.1 API Specification

To submit a bug or feature email the author of that class. Funding for this research was provided by Boeing and DARPA.