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

## ee.ut.ga.model
Class Coordinate

    java.lang.Object
      ee.ut.ga.model.Coordinate

public class Coordinate
extends java.lang.Object

Keeps coordinates: x and y.

Author:
  Anton Stalnuhhin

Field Summary
`private java.math.BigDecimal` | `x`
`private java.math.BigDecimal` | `y`

Constructor Summary
`Coordinate(java.math.BigDecimal x, java.math.BigDecimal y)`
`Coordinate(double x, double y)`

Method Summary
`java.math.BigDecimal` | `getX()`
`java.math.BigDecimal` | `getY()`
`void` | `setX(java.math.BigDecimal x)`
`void` | `setX(double x)`
`void` | `setY(java.math.BigDecimal y)`
`void` | `setY(double y)`
`java.lang.String` | `toString()`

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

Field Detail

### x

    private java.math.BigDecimal x

### y

    private java.math.BigDecimal y

Constructor Detail

### Coordinate

    public Coordinate(double x,
                      double y)

### Coordinate

    public Coordinate(java.math.BigDecimal x,
                      java.math.BigDecimal y)

Method Detail

### getX

    public java.math.BigDecimal getX()

### setX

    public void setX(java.math.BigDecimal x)

### getY

    public java.math.BigDecimal getY()

### setY

    public void setY(java.math.BigDecimal y)

### setX

    public void setX(double x)

### setY

    public void setY(double y)

### toString

    public java.lang.String toString()

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