得到Polyline的端点
Mcad::ErrorStatus getPointAt(unsigned int index, McGePoint2d& pt) const;
如果成功返回Mcad::eOk
McDbPolyline 方法