Skip to content
Permalink
Browse files

Update sip file for qgspoint

git-svn-id: http://svn.osgeo.org/qgis/trunk@13005 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Mar 5, 2010
1 parent 058bb45 commit 3249d776fdda6b5bd8f7f329d2e30a94a591b8fc
Showing with 6 additions and 0 deletions.
  1. +4 −0 python/core/qgspoint.sip
  2. +2 −0 src/core/qgspoint.h
@@ -73,6 +73,10 @@ public:
/**Returns the squared distance between this and other point*/
double sqrDist(const QgsPoint& other);

/**Returns the minimum distance between this point and a segment
@note added in QGIS 1.5*/
double sqrDistToSegment( double x1, double y1, double x2, double y2, QgsPoint& minDistPoint /Out/) const;

//! equality operator
bool operator==(const QgsPoint &other);

@@ -144,6 +144,8 @@ class CORE_EXPORT QgsPoint
/**Returns the squared distance between this and other point*/
double sqrDist( const QgsPoint& other ) const;

/**Returns the minimum distance between this point and a segment
@note added in QGIS 1.5*/
double sqrDistToSegment( double x1, double y1, double x2, double y2, QgsPoint& minDistPoint ) const;

//! equality operator

0 comments on commit 3249d77

Please sign in to comment.
You can’t perform that action at this time.