To get the band pictured here, take the intersection of two overlapping halfspaces. They are each bigger than a hemisphere, so
D < 0
..
Figure 3. 4 halfspaces that define a rectangle |
REGION CONVEX 0.0 0.0 1.0 -0.08 0.0 0.0 -1.0 -0.15
REGION CONVEX 0.0 0.0 1.0 -0.08 0.0 0.0 -1.0 -0.15
/* .... */ namespace MySpace { public class MyApp { public void MyFunc(){ Region r = new Region(); Convex c = new Convex(); c.Add(new Halfspace(0.0, 0.0, 1.0, -0.08)); c.Add(new Halfspace(0.0, 0.0, -1.0, -0.15)); r.Add(c); /* ... */ } } }