|  |  | >>Assuming that all 4 points are actually co-plannar, what would the *the 
>>simplest* way to fit a box{} object into the middle of the thing?
> 
> 
>   Actually it's not enough for the points to be coplanar, they must also
> form a perfect parallelogram or else 1 box will not do. If the shape is
> not a perfect parallelogram then you'll have to use at least the difference
> of two or three boxes.
> 
>   Of course you could go the easy way and close that object with
> polygons or even triangles, unless you really want it to be solid,
> in which case you'll have to either go with the boxes or use eg.
> planes.
Used for CSG --> I'd like it to be solid.
Hmm... planes is a good idea though!
(Actually, the code that generates the 4 points guarantees them to form 
a rectangle. To be specific, A and B are identical except for the Z 
coordinate, as are C and D...)
Post a reply to this message
 |  |