Added finding the offset path from a curve.
Fixed a type.