mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
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:
parent
94987918ef
commit
9e962054fe
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user