TPTP 4.5.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.report.drawutil.internal
Class Point2D

java.lang.Object
  extended by org.eclipse.tptp.platform.report.drawutil.internal.Point2D

Deprecated. As of TPTP 4.5.0, use the TPTP Business Intelligence and Reporting Tools (BIRT) reporting infrastructure (org.eclipse.tptp.platform.report.birt).

public class Point2D
extends java.lang.Object

Store a 2 dimensional point.


Field Summary
protected  double x_
          Deprecated.  
protected  double y_
          Deprecated.  
 
Constructor Summary
Point2D()
          Deprecated. Create a point at coordinate (0,0)
Point2D(double _x, double _y)
          Deprecated. Create a point with both coordinate
Point2D(Point2D _p)
          Deprecated. Create a point copying coordinates
 
Method Summary
 double getX()
          Deprecated.  
 double getY()
          Deprecated.  
 void setCoord(double _x, double _y)
          Deprecated. Change both coordinate of the point
 void setPoint(Point2D _p)
          Deprecated. Change both coordinate copying from given point
 void setX(double _x)
          Deprecated. Change X coordinate of the point
 void setY(double _y)
          Deprecated. Change Y coordinate of the point
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x_

protected double x_
Deprecated. 

y_

protected double y_
Deprecated. 
Constructor Detail

Point2D

public Point2D()
Deprecated. 
Create a point at coordinate (0,0)


Point2D

public Point2D(double _x,
               double _y)
Deprecated. 
Create a point with both coordinate


Point2D

public Point2D(Point2D _p)
Deprecated. 
Create a point copying coordinates

Method Detail

getX

public double getX()
Deprecated. 
Returns:
X coordinate of the point

getY

public double getY()
Deprecated. 
Returns:
Y coordinate of the point

setX

public void setX(double _x)
Deprecated. 
Change X coordinate of the point


setY

public void setY(double _y)
Deprecated. 
Change Y coordinate of the point


setCoord

public void setCoord(double _x,
                     double _y)
Deprecated. 
Change both coordinate of the point


setPoint

public void setPoint(Point2D _p)
Deprecated. 
Change both coordinate copying from given point


TPTP 4.5.0 Platform Project
Internal API Specification