MCPcopy Create free account
hub / github.com/davideberly/GeometricTools / Array2

Method Array2

GTE/Mathematics/Array2.h:28–36  ·  view source on GitHub ↗

Construction. The first constructor generates an array of objects that are owned by Array2. The second constructor is given an array of objects that are owned by the caller. The array has bound0 columns and bound1 rows.

Source from the content-addressed store, hash-verified

26 // of objects that are owned by the caller. The array has bound0
27 // columns and bound1 rows.
28 Array2(size_t bound0, size_t bound1)
29 :
30 mBound0(bound0),
31 mBound1(bound1),
32 mObjects(bound0 * bound1),
33 mIndirect1(bound1)
34 {
35 SetPointers(mObjects.data());
36 }
37
38 Array2(size_t bound0, size_t bound1, T* objects)
39 :

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected