Look up the subject of 'eigen vector'.

Matt



From: [email protected] 
[mailto:[email protected]] On Behalf Of Alan Fregtman
Sent: Monday, August 20, 2012 1:47 PM
To: XSI Mailing List
Subject: Orienting a bounding box to smallest fit at an angle?

Hey guys,

Is there a better way to figure out the smallest bounding box than rotating the 
geometry and testing the bounding box again?

Has anyone ever tried to generate an oriented/aligned bounding box from frozen 
geo that's at an arbitrary angle?

I guess another potential way is to sample three axes of circles of XX raycasts 
and sorting by the ray hit lengths. Longest of each circle would presumably 
give a kind of angle estimation as to how to orient the bounding box.

Cheers,

   -- Alan

Reply via email to