Skip to content

Commit

Permalink
include QgsGeometry::transform() in python bindings
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12322 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Dec 3, 2009
1 parent 4d2d863 commit 858c09d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python/core/qgsgeometry.sip
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,10 @@ not disjoint with existing polygons of the feature*/
@return 0 in case of success*/
int translate(double dx, double dy);

/**Transform this geometry as described by CoordinateTranasform ct
@return 0 in case of success*/
int transform( const QgsCoordinateTransform& ct );

/**Splits this geometry according to a given line. Note that the geometry is only splitted once. If there are several intersections
between geometry and splitLine, only the first one is considered.
@param splitLine the line that splits the geometry
Expand Down

0 comments on commit 858c09d

Please sign in to comment.