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).
This commit is contained in:
Nyall Dawson 2017-08-26 16:58:43 +10:00
parent 94987918ef
commit 9e962054fe
2 changed files with 2 additions and 1 deletions

View File

@ -45,4 +45,3 @@
%Include vector/qgsgeometrysnapper.sip
%Include network/qgsgraphdirector.sip
%Include network/qgsvectorlayerdirector.sip
%Include interpolation/MathUtils.sip

View File

@ -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