Data should always be in a 0->1 coordinate system to use this clip function
the original geometry line
the bounding box to clip the line to
true if the line comes from a polygon
the starting offset the line starts at
the buffer to apply to the line (spacing outside the bounding box)
Data should always be in a 0->1 coordinate system to use this clip function