* Get curve parameters from the curve shape
* @param cs - curve shape
* @return
*/
protected CurveParameters getCurveParameters(CurveShape cs){
CurveParameters res = createCurveParameters();
try{
res.xds=cs.getXSource();
}catch (DataException e){
res.xds=null;