Skip to content
Browse files
Exclude MathUtils from sip bindings
We don't want these part of stable API - this namespace really shouldn't
exist, as it mostly contains code which is duplicated in other
parts of the API (with better maintained and tested versions).
  • Loading branch information
nyalldawson committed Aug 29, 2017
1 parent 9498791 commit 9e96205
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
@@ -45,4 +45,3 @@
%Include vector/qgsgeometrysnapper.sip
%Include network/qgsgraphdirector.sip
%Include network/qgsvectorlayerdirector.sip
%Include interpolation/MathUtils.sip
@@ -23,6 +23,8 @@
class QgsPoint;
class Vector3D;

#define SIP_NO_FILE

namespace MathUtils
//! Calculates the barycentric coordinates of a point (x,y) with respect to p1, p2, p3 and stores the three barycentric coordinates in 'result'. Thus the u-coordinate is stored in result::x, the v-coordinate in result::y and the w-coordinate in result::z. Attention: p1, p2 and p3 have to be ordered counterclockwise

0 comments on commit 9e96205

Please sign in to comment.