Package jcckit.graphic
Class GraphPoint
java.lang.Object
jcckit.util.Point
jcckit.graphic.GraphPoint
Immutable class of a two-dimensional point in the device-independent
coordinate system.
-
Constructor Summary
ConstructorDescriptionGraphPoint
(double[] vector) Creates an instance for the specified vector.GraphPoint
(double x, double y) Creates an instance for the specified coordinates. -
Method Summary
-
Constructor Details
-
GraphPoint
public GraphPoint(double[] vector) Creates an instance for the specified vector. If vector is null or not long enough the default value 0 will be used instead. -
GraphPoint
public GraphPoint(double x, double y) Creates an instance for the specified coordinates.
-