DPoint
Keywords: uk.ac.ic.doc.automed.editor.autolayout.DPoint class

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

## uk.ac.ic.doc.automed.editor.autolayout
Class DPoint

    java.lang.Object
      uk.ac.ic.doc.automed.editor.autolayout.DPoint

    public class DPoint

extends java.lang.Object

A class for holding a real position points.

Field Summary
`double` | `x`
`double` | `y`

Constructor Summary
`DPoint()`
`DPoint(double x_in, double y_in)`
`DPoint(DPoint init)`

Method Summary
`boolean` | `equals(DPoint other)`
`void` | `move(double new_x, double new_y)`
`void` | `move(DPoint to)`
`void` | `translate(double x_shift, double y_shift)`

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

Field Detail

### x

    public double x

### y

    public double y

Constructor Detail

### DPoint

    public DPoint(double x_in,
                  double y_in)

### DPoint

    public DPoint()

### DPoint

    public DPoint(DPoint init)

Method Detail

### equals

    public boolean equals(DPoint other)

### move

    public void move(double new_x,
                     double new_y)

### move

    public void move(DPoint to)

### translate

    public void translate(double x_shift,
                          double y_shift)

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