I am developing a visualization where I have already calculated the best fit plane from points and have a bounding box (from the voxel structure). The plane is defined by its normal and the centroid and the bounding box by center and the size. I have to specify the end points of the plane. Is there any easy way to find out the bounds of the best-fit plane?
plane bounding box intersection
0
$\begingroup$
geometry
-
0Thanks for your response. Yeah the bounding box is defined as (center, size). But I can think about it. – 2012-08-19
1 Answers
1
The intersection of the plane and the bounding box is going to be a polygon that has between three and six sides (I'm ignoring some special cases that are probably not interesting).
It's not clear what you mean by the "bounds" of the plane.
One interpretation would be that the "bounds" of the plane are just the edges of the polygon mentioned above. You can find these edges by intersecting the plane with each of the faces of the bounding box.
If you want a simpler bounding shape, you can construct this from the aforementioned polygon.