public class Point extends Object
Modifier and Type | Method and Description |
---|---|
double |
getDistanceTo(Point p) |
double |
getHorizontalDistanceTo(Point p) |
double |
getPreciseX() |
double |
getPreciseY() |
double |
getVerticalDistanceTo(Point p) |
int |
getX() |
int |
getY() |
void |
setX(double x) |
void |
setY(double y) |
public int getX()
public double getPreciseX()
public void setX(double x)
public int getY()
public double getPreciseY()
public void setY(double y)
public double getVerticalDistanceTo(Point p)
public double getHorizontalDistanceTo(Point p)
public double getDistanceTo(Point p)
Copyright © 2017. All rights reserved.