@@ -91,7 +91,7 @@ class QgsCoordinateTransform : QObject
9191 * @param direction TransformDirection (defaults to ForwardTransform)
9292 * @return QgsPoint in Destination Coordinate System
9393 */
94- QgsPoint transform(const QgsPoint p,TransformDirection direction=ForwardTransform);
94+ QgsPoint transform(const QgsPoint p,TransformDirection direction=ForwardTransform) throw (QgsCsException) ;
9595
9696 /*! Transform the point specified by x,y from Source Coordinate System to Destination Coordinate System
9797 * If the direction is ForwardTransform then coordinates are transformed from layer CS --> map canvas CS,
@@ -101,7 +101,7 @@ class QgsCoordinateTransform : QObject
101101 * @param direction TransformDirection (defaults to ForwardTransform)
102102 * @return QgsPoint in Destination Coordinate System
103103 */
104- QgsPoint transform(const double x, const double y,TransformDirection direction=ForwardTransform);
104+ QgsPoint transform(const double x, const double y,TransformDirection direction=ForwardTransform) throw (QgsCsException) ;
105105
106106 /*! Transform a QgsRectangle to the dest Coordinate system
107107 * If the direction is ForwardTransform then coordinates are transformed from layer CS --> map canvas CS,
@@ -113,12 +113,12 @@ class QgsCoordinateTransform : QObject
113113 * @param direction TransformDirection (defaults to ForwardTransform)
114114 * @return QgsRectangle in Destination Coordinate System
115115 */
116- QgsRectangle transformBoundingBox(const QgsRectangle theRect,TransformDirection direction=ForwardTransform);
116+ QgsRectangle transformBoundingBox(const QgsRectangle theRect,TransformDirection direction=ForwardTransform) throw (QgsCsException) ;
117117
118118 // Same as for the other transform() functions, but alters the x
119119 // and y variables in place. The second one works with good old-fashioned
120120 // C style arrays.
121- void transformInPlace(double& x, double& y, double &z, TransformDirection direction = ForwardTransform);
121+ void transformInPlace(double& x, double& y, double &z, TransformDirection direction = ForwardTransform) throw (QgsCsException) ;
122122
123123 // TODO: argument not supported
124124 //void transformInPlace(std::vector<double>& x, std::vector<double>& y, std::vector<double>& z,
@@ -131,7 +131,7 @@ class QgsCoordinateTransform : QObject
131131 * @param direction TransformDirection (defaults to ForwardTransform)
132132 * @return QgsRectangle in Destination Coordinate System
133133 */
134- QgsRectangle transform(const QgsRectangle theRect,TransformDirection direction=ForwardTransform);
134+ QgsRectangle transform(const QgsRectangle theRect,TransformDirection direction=ForwardTransform) throw (QgsCsException) ;
135135
136136 /*! Transform an array of coordinates to a different Coordinate System
137137 * If the direction is ForwardTransform then coordinates are transformed from layer CS --> map canvas CS,
@@ -141,7 +141,7 @@ class QgsCoordinateTransform : QObject
141141 * @param direction TransformDirection (defaults to ForwardTransform)
142142 * @return QgsRectangle in Destination Coordinate System
143143 */
144- void transformCoords( const int &numPoint, double *x, double *y, double *z,TransformDirection direction=ForwardTransform);
144+ void transformCoords( const int &numPoint, double *x, double *y, double *z,TransformDirection direction=ForwardTransform) throw (QgsCsException) ;
145145
146146 /*!
147147 * Flag to indicate whether the coordinate systems have been initialised
0 commit comments