parameters: (a, o)
docstring: Assumes a linear distance field for bounds calculations!
docstring_summary: Assumes a linear distance field for bounds calculations!
docstring_tokens: Assumes a linear distance field for bounds calculations!
function: def offset(a, o):
      """ Assumes a linear distance field for bounds calculations!
      """
      if o < 0:
          return Shape('-%sf%g' % (a.math, o),
                  a.bounds.xmin, a.bounds.ymin, a.bounds.zmin,
                  a.bounds.xmax, a.bounds.ymax, a.bounds.zmax)
      else:
          return Shape('-%sf%g' % (a.math, o),
                  a.bounds.xmin - o, a.bounds.ymin - o, a.bounds.zmin - o,
                  a.bounds.xmax + o, a.bounds.ymax + o, a.bounds.zmax + o)
function_tokens: def offset ( a , o ) : if o < 0 : return Shape ( '-%sf%g' % ( a . math , o ) , a . bounds . xmin , a . bounds . ymin , a . bounds . zmin , a . bounds . xmax , a . bounds . ymax , a . bounds . zmax ) else : return Shape ( '-%sf%g' % ( a . math , o ) , a . bounds . xmin - o , a . bounds . ymin - o , a . bounds . zmin - o , a . bounds . xmax + o , a . bounds . ymax + o , a . bounds . zmax + o )