code: private static boolean multiPointExactlyEqualsMultiPoint_(
  			MultiPoint multipoint_a, MultiPoint multipoint_b, double tolerance,
  			ProgressTracker progress_tracker) {
  		if (multipoint_a.getPointCount() != multipoint_b.getPointCount())
  			return false;
  
  		Point2D ptA = new Point2D(), ptB = new Point2D();
  		boolean bAllPointsEqual = true;
  		double tolerance_sq = tolerance * tolerance;
  
  		for (int i = 0; i < multipoint_a.getPointCount(); i++) {
  			multipoint_a.getXY(i, ptA);
  			multipoint_b.getXY(i, ptB);
  
  			if (Point2D.sqrDistance(ptA, ptB) > tolerance_sq) {
  				bAllPointsEqual = false;
  				break;
  			}
  		}
  
  		if (!bAllPointsEqual)
  			return false;
  
  		return true;
  	}
docs: multipoint_b, within a tolerance, and in the same order.