Help for this page

Select Code to Download


  1. or download this
    sub GreenTheoremTest {
       my ($poly) = @_;
    ...
       }
       return $asum;
    }
    
  2. or download this
    my $EPSILON = 1e-20;
    my $asum = GreenTheoremTest($poly);
    ...
    } else {
       print "Polygon is counterclockwise\n";
    }