Band

To get the band pictured here, take the intersection of two overlapping halfspaces. They are each bigger than a hemisphere, so D < 0..

Picture of a band
Figure 3. 4 halfspaces that define a rectangle

SPECIFICATION

REGION CONVEX
    0.0 0.0  1.0 -0.08 
    0.0 0.0 -1.0 -0.15

NORMAL FORM

REGION CONVEX
    0.0 0.0  1.0 -0.08 
    0.0 0.0 -1.0 -0.15

C# Code snippet

/* .... */
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);
	    /* ... */
        }
    }
}

Last update May 29, 2007 György Fekete version 3.1.2