com.croftsoft.core.math
Class Point2D

java.lang.Object
  extended by com.croftsoft.core.math.Point2D
All Implemented Interfaces:
Serializable

Deprecated. Use Point2DD or java.awt.geom.Point2D.Double instead.

public final class Point2D
extends Object
implements Serializable

A point in the standard Cartesian coordinate system using doubles.

This positive x-axis is to the right and the positive y-axis is up.

Since:
1998-05-29
Version:
2003-03-20
See Also:
Serialized Form
Author:
David Wallace Croft

Field Summary
 double x
          Deprecated.  
 double y
          Deprecated.  
 
Constructor Summary
Point2D()
          Deprecated.  
Point2D(double x, double y)
          Deprecated.  
 
Method Summary
 double angleTo(Point2D target)
          Deprecated. The angle, in radians, from this point to the target point.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

public double x
Deprecated. 

y

public double y
Deprecated. 
Constructor Detail

Point2D

public Point2D(double x,
               double y)
Deprecated. 

Point2D

public Point2D()
Deprecated. 
Method Detail

angleTo

public double angleTo(Point2D target)
Deprecated. 
The angle, in radians, from this point to the target point. Note that the direction of 0 radians is along the positive x-axis and PI/2 radians is along the positive y-axis.


CroftSoft Javadoc

CroftSoft Core Javadoc (2008-09-28 20:58:02)