vtkOBBTree之ComputeOBB参数问题

The parameters are as follows:

corner: The corner point - the "origin" of the three vectors.
size: The relative sizes of the OBB on each of the returned axes. Size[0] is the length of the OBB along the "max" axis, size[1] is the length along the "mid" axis and size[2] is the length along the "min" axis.

To get the corners of the box, you should offset the corner by the appropriate scaled vector (i.e., max * size[0], mid * size[1], min * size[2]).

Of course, I don't know if the devs intend this function to be for public use, but we're using it here anyway.

你可能感兴趣的:(vtkOBBTree之ComputeOBB参数问题)