| 44 | |
| 45 | template <typename T> |
| 46 | IMATH_NAMESPACE::Box<IMATH_NAMESPACE::Vec3<T> > |
| 47 | computeBoundingBox(const FixedArray<IMATH_NAMESPACE::Vec3<T> >& position) |
| 48 | { |
| 49 | IMATH_NAMESPACE::Box<IMATH_NAMESPACE::Vec3<T> > bounds; |
| 50 | int len = position.len(); |
| 51 | for (int i = 0; i < len; ++i) |
| 52 | bounds.extendBy(position[i]); |
| 53 | return bounds; |
| 54 | } |
| 55 | |
| 56 | IMATH_NAMESPACE::M44d |
| 57 | procrustes1 (PyObject* from_input, |