设置线段开始点和结束点
McGeLineSeg2d& set(const McGePoint2d& pnt1, const McGePoint2d& pnt2);
如果成功返回Mcad::eOk,如果传递的数据非法则返回Mcad::eInvalidInput
McGeLineSeg2d 方法