MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/Imath / computeBoundingBox

Function computeBoundingBox

src/python/PyImath/imathmodule.cpp:46–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44
45template <typename T>
46IMATH_NAMESPACE::Box<IMATH_NAMESPACE::Vec3<T> >
47computeBoundingBox(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
56IMATH_NAMESPACE::M44d
57procrustes1 (PyObject* from_input,

Callers

nothing calls this directly

Calls 2

extendByMethod · 0.80
lenMethod · 0.45

Tested by

no test coverage detected