Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## jcckit.graphic
Class GraphPoint

    java.lang.Object
      jcckit.util.Point
          jcckit.graphic.GraphPoint

public class GraphPoint
extends Point

Immutable class of a two-dimensional point in the device-independent coordinate system.

Author:
  Franz-Josef Elmer

Constructor Summary
`GraphPoint(double[] vector)` Creates an instance for the specified vector.
`GraphPoint(double x, double y)` Creates an instance for the specified coordinates.

Methods inherited from class jcckit.util.Point
`getX, getY`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### 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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD