public class Point extends Object
Constructor and Description |
---|
Point(double[] vector)
Creates an instance for the specified vector.
|
Point(double x,
double y)
Creates an instance for the specified coordinates.
|
Modifier and Type | Method and Description |
---|---|
double |
getX()
Returns the x-coordinate of the point.
|
double |
getY()
Returns the y-coordinate of the point.
|
public Point(double[] vector)
public Point(double x, double y)
Copyright © 2016. All Rights Reserved.