inbox (<point>,<point1>,<point2>)
numeric
Whether a point is within a 3-D box defined by two points: 1 if it is inside, 0 if it is outside.
<point>
Point to test.
<point1>
Minimum corner of the 3-D box.
<point2>
Maximum corner
of the 3-D box.
The following returns the value 1.
numeric in = inbox(p0,(-50,-50,-50),(50,50,50))
The following returns the value 0.
numeric in = inbox(p0,(50,50,50),(60,60,60))
Functions: |