Class Coordinate
This concrete class represents a real coordinate.
public class Coordinate
extends Object
Hierarchical Diagram
Direct Known Subclasses
None
Fields
• x
The x value.
public double x
• y
The y value.
public double y
Constructor
• Construct a coordinate with default value (0.0, 0.0).
public Coordinate()
• Construct a coordinate with value (x, y).
public Coordinate(double x, double y)
Where:
x—X value.
y—Y value.
Methods
None
Methods Inherited
The methods inherited from other classes are:
Class | Methods Inherited |
java.lang.Object | equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |