Surface sB = createSurface(pointsB);
assertEquals(0.5, sB.getArea(), 1.0e-8);
assertEquals(1.0 + 1.0 + Math.sqrt(2.0), sB.getPerimeter(), 0.0);
TransfiniteSet result = sA.intersection(sB);
assertTrue(result instanceof Curve);
Curve curveResult = (Curve)result;
assertEquals(0.0, curveResult.getStartParam(), 1.0e-8);
assertEquals(Math.sqrt(2.0), curveResult.getEndParam(), 1.0e-8);
}