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

Function BoxArray_get

src/python/PyImath/PyImathBoxArrayImpl.h:37–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35
36template <class T,int index>
37static FixedArray<T>
38BoxArray_get(FixedArray<IMATH_NAMESPACE::Box<T> > &va)
39{
40 return index == 0 ?
41 FixedArray<T>(&(va.unchecked_index(0).min),
42 va.len(),2*va.stride(),va.handle(),va.writable()) :
43 FixedArray<T>(&(va.unchecked_index(0).max),
44 va.len(),2*va.stride(),va.handle(),va.writable());
45}
46
47template <class T>
48static void

Callers

nothing calls this directly

Calls 3

lenMethod · 0.45
strideMethod · 0.45
writableMethod · 0.45

Tested by

no test coverage detected