java RandomizedAreaEstimator circle 2.0 2.0 1.0 triangle 1.0 1.0 2.5 3.0 2.0 -3.0 circle 2.5 1.0 3.0would generate one million random points to estimate the area of overlap of (a) a unit circle whose center is at (2.0,2.0), (b) a triangle whose vertices are (1.0,1.0), (2.5,3.0), (2.0,-3.0), and (c) another circle whose center is at (2.5,1.0) with a radius of 3.0.
Revised: April 3, 2009