mirror of
https://github.com/qgis/QGIS.git
synced 2025-11-22 00:14:55 -05:00
Expose QgsPolyline to SIP
This commit is contained in:
parent
55a1e38843
commit
ae2cf3bed9
@ -16,8 +16,7 @@
|
||||
|
||||
typedef QVector<QgsPointXY> QgsPolylineXY;
|
||||
|
||||
typedef QgsPointSequence QgsPolyline;
|
||||
|
||||
typedef QVector<QgsPoint> QgsPolyline;
|
||||
|
||||
typedef QVector<QVector< QgsPoint >> QgsMultiPolyline;
|
||||
|
||||
|
||||
@ -16,8 +16,7 @@
|
||||
|
||||
typedef QVector<QgsPointXY> QgsPolylineXY;
|
||||
|
||||
typedef QgsPointSequence QgsPolyline;
|
||||
|
||||
typedef QVector<QgsPoint> QgsPolyline;
|
||||
|
||||
typedef QVector<QVector< QgsPoint >> QgsMultiPolyline;
|
||||
|
||||
|
||||
@ -67,15 +67,18 @@ typedef QVector<QgsPointXY> QgsPolylineXY;
|
||||
* This type has full support for Z/M dimensions.
|
||||
*
|
||||
*/
|
||||
#ifndef SIP_RUN
|
||||
typedef QgsPointSequence QgsPolyline;
|
||||
|
||||
#else
|
||||
typedef QVector<QgsPoint> QgsPolyline;
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Multi polyline represented as a vector of polylines.
|
||||
*
|
||||
* This type has full support for Z/M dimensions.
|
||||
*
|
||||
* \since QGIS 4.0
|
||||
* \since QGIS 3.44
|
||||
*/
|
||||
#ifndef SIP_RUN
|
||||
typedef QVector<QgsPolyline> QgsMultiPolyline;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user