svalinn / Cubit-plugin

Plugins and command extensions for Coreform Cubit
BSD 3-Clause "New" or "Revised" License
17 stars 14 forks source link

Support degenerate tori with negative major radius #157

Open gonuke opened 3 months ago

gonuke commented 3 months ago

This method already supported a degenerate torus with major radius > 0, with a cross-section that includes more than 1/2 of a circle, truncated by a chord across that circle.

This should now support a degenerate torus with major radius < 0, with a cross-section that includes less than 1/2 of a circle, also truncated by a chord across that circle.

Fixes #156

gonuke commented 3 months ago

I'm not sure we have a good mechanism to test this any more, since we don't build this routinely. Perhaps I can point someone from Coreform to look at it.