offset · ·

An oblate spheroid grown by 1

offset/oblate-spheroid-grown · offset, grow, ellipsoid, spheroid, revolution, adversarial

The solid oblate spheroid of geometry/oblate-spheroid, (x² + y²)/36 + z²/9 ≤ 1, centered on the origin about the z axis, grown by 1: the solid of every point within 1 of it.

The spheroid is convex and smooth, so the grown solid is bounded by one smooth face, the spheroid's surface moved 1 outward along its normals: its equator moves out to radius 7 and its poles to z = ±4. That face is not an ellipsoid. Its section through the z axis is the parallel curve of the ellipse x²/36 + z²/9 = 1 at distance 1.

For a convex body the volume of the grown solid is Steiner's polynomial in the distance d, whose coefficients are the body's volume V, its surface area S and the integral M of its surface's mean curvature, (κ₁ + κ₂)/2, over the surface; the grown solid's area is its derivative in d. For the spheroid with equatorial radius a = 6 and polar radius c = 3, the parallels' curvature integrates to 4πc and the meridians' to 4πa²·atan(√(a² − c²)/c)/√(a² − c²), half their sum being M.

As a set:

$$\{\,\tfrac{\rho^2}{36} + \tfrac{z^2}{9} \le 1\,\} \oplus B_{1}$$

expectedclosed form
volume833.2012156V + Sd + Md² + 4πd³/3 (Steiner), V = 144π, S = 72π + 12√3π ln(2 + √3), M = ∫H dA = 2πc + (2πa²/√(a² − c²)) atan(√(a² − c²)/c) = 6π + 8√3π²/3, a = 6, c = 3, d = 1
area453.6247599S + 2Md + 4πd²

Drawing

Top view
Top
Isometric view
Isometric
Front view
Front
Right view
Right

Third-angle projection, the three views at one scale. Drawn from next.BREP's result, which passed.

Results

cad-kernelocctarriskentronvcadsolidcraftbrepkitpopkernaetherisnext.BREPgeopcadrssmlibspringrepgeomsolveranvilcad
outcomerefusedwrong–––refused–––pass–pass–refused–refused
volume err.2.4e-012.6e-097.2e-10
area err.4.3e-014.8e-093.9e-10
time1.8 ms636 ms4.05 s264 ms15 ms8.63 s1.1 ms
CPU time1.6 ms635 ms4.03 s263 ms30 ms8.63 s960 µs
memory7 MB366.9 MB533 MB47.6 MB8 MB15.3 MB3.5 MB
LOC65137864

† works around a missing feature. Pick an entry to see its solid, its measures and its code.

offset/oblate-spheroid-grown.md, the case as written.