def getGeometryOutputByStep(end, loop, steps, stepVector, xmlElement):
 stepsFloor = int(math.floor(abs(steps)))
 for stepIndex in xrange(1, stepsFloor):
  loop.append((loop[(stepIndex - 1)] + stepVector))
 loop.append(end)
 return lineation.getGeometryOutputByLoop(lineation.SideLoop(loop), xmlElement)

def getGeometryOutputByStep ( end , loop , steps , stepVector , xmlElement ) : stepsFloor = int ( math . floor ( abs ( steps ) ) ) for stepIndex in xrange ( 1 , stepsFloor ) : loop . append ( ( loop [ ( stepIndex - 1 ) ] + stepVector ) ) loop . append ( end ) return lineation . getGeometryOutputByLoop ( lineation . SideLoop ( loop ) , xmlElement )
get line geometry output by the end .