| 987 | } |
| 988 | |
| 989 | bool Surface_Impl::intersect(Surface& otherSurface) { |
| 990 | boost::optional<SurfaceIntersection> intersection = computeIntersection(otherSurface); |
| 991 | return intersection.has_value(); |
| 992 | } |
| 993 | |
| 994 | boost::optional<SurfaceIntersection> Surface_Impl::computeIntersection(Surface& otherSurface) { |
| 995 | double tol = 0.01; // 1 cm tolerance |
no outgoing calls