Coordinate class