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

Function __serialiseBox

python/IECore/ParameterParser.py:564–572  ·  view source on GitHub ↗
( parameter, value )

Source from the content-addressed store, hash-verified

562 return [ str( vec[x] ) for x in range( 0, vec.dimensions() ) ]
563
564def __serialiseBox( parameter, value ) :
565
566 box = value.value
567 result = []
568 for vec in box.min(), box.max() :
569 for x in range( 0, vec.dimensions() ) :
570 result.append( str( vec[x] ) )
571
572 return result
573
574def __serialiseLineSegment( parameter, value ) :
575

Callers

nothing calls this directly

Calls 5

minMethod · 0.80
maxMethod · 0.80
appendMethod · 0.80
strFunction · 0.50
dimensionsMethod · 0.45

Tested by

no test coverage detected