@Deprecated
public class Point2D
extends java.lang.Object
NOTE: This API is still in flux and might change in incompatible ways in the next release.
| Constructor and Description |
|---|
Point2D()
Deprecated.
|
Point2D(double x,
double y)
Deprecated.
|
Point2D(Point2D other)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(Point2D a)
Deprecated.
|
void |
add(Vector2D v)
Deprecated.
|
boolean |
equals(java.lang.Object obj)
Deprecated.
|
double |
getX()
Deprecated.
|
double |
getY()
Deprecated.
|
int |
hashCode()
Deprecated.
|
void |
set(double x,
double y)
Deprecated.
|
void |
set(Point2D p1)
Deprecated.
|
void |
set(Vector2D v)
Deprecated.
|
void |
setX(double x)
Deprecated.
|
void |
setY(double y)
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
double |
x()
Deprecated.
|
void |
x(double x)
Deprecated.
|
double |
y()
Deprecated.
|
void |
y(double y)
Deprecated.
|
public Point2D(double x,
double y)
public Point2D()
public Point2D(Point2D other)
public java.lang.String toString()
toString in class java.lang.Objectpublic double getX()
public double getY()
public double x()
public double y()
public void x(double x)
public void y(double y)
public void setX(double x)
public void setY(double y)
public void set(double x,
double y)
public void add(Vector2D v)
public void set(Point2D p1)
public void add(Point2D a)
public void set(Vector2D v)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2000-2022 Apache Software Foundation. All Rights Reserved.