MCPcopy Create free account
hub / github.com/ImageEngine/cortex / dimensions

Method dimensions

include/IECore/VectorTraits.h:52–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50 /// The type of the components of the vector.
51 typedef typename T::BaseType BaseType;
52 static unsigned int dimensions() { return T::dimensions(); };
53 static BaseType get( const T &v, unsigned int i ) { return v[i]; };
54 static void set( T &v, unsigned int i, BaseType x ) { v[i] = x; };
55};

Callers 15

__parseBoxOrLineFunction · 0.45
serialiseVecFunction · 0.45
__serialiseVecFunction · 0.45
__serialiseBoxFunction · 0.45
__serialiseLineSegmentFunction · 0.45
testDimensionsMethod · 0.45
testDimensionsMethod · 0.45
testDimensionsMethod · 0.45
testMethod · 0.45

Calls

no outgoing calls

Tested by 6

testDimensionsMethod · 0.36
testInfinityMethod · 0.36