Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 9th, 2012  |  syntax: Java  |  size: 0.32 KB  |  hits: 24  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. public Point highestVertex ()
  2.         {
  3.             Point P = new Point (vertices[0]);
  4.             for (int i = 0 ; i < _vertices.length ; i++)
  5.             {
  6.                 if (p.getY > vertices[1]
  7.                 {
  8.                     return p;
  9.                     _noOfVertices++;
  10.                 }