Skip to content
Browse files

include QgsGeometry::transform() in python bindings

git-svn-id: c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Dec 3, 2009
1 parent 89d6f80 commit 0dee825fa2992462a19d372fe7e7ce98ee2d381c
Showing with 4 additions and 0 deletions.
  1. +4 −0 python/core/qgsgeometry.sip
@@ -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

0 comments on commit 0dee825

Please sign in to comment.