Added cmdSampleOffsetCurve.cpp