Added cmdSampleExtractCurves.cpp