getCoordinate method

Coordinate? getCoordinate()

@return the coordinate for the node this star is based at

Implementation

Coordinate? getCoordinate() {
  Iterator it = iterator();
  if (!it.moveNext()) return null;
  EdgeEnd e = it.current;
  return e.getCoordinate();
}