@@ -872,6 +872,9 @@ void CPL_DLL OGR_G_SetPointsZM(OGRGeometryH hGeom, int nPointsIn,
872
872
* points in the linestring, the point count will be increased to
873
873
* accommodate the request.
874
874
*
875
+ * The geometry is promoted to include a Z component, if it does not already
876
+ * have one.
877
+ *
875
878
* @param hGeom handle to the geometry to add a vertex to.
876
879
* @param i the index of the vertex to assign (zero based) or
877
880
* zero for a point.
@@ -993,6 +996,9 @@ void OGR_G_SetPoint_2D(OGRGeometryH hGeom, int i, double dfX, double dfY)
993
996
* points in the linestring, the point count will be increased to
994
997
* accommodate the request.
995
998
*
999
+ * The geometry is promoted to include a M component, if it does not already
1000
+ * have one.
1001
+ *
996
1002
* @param hGeom handle to the geometry to add a vertex to.
997
1003
* @param i the index of the vertex to assign (zero based) or
998
1004
* zero for a point.
@@ -1055,6 +1061,9 @@ void OGR_G_SetPointM(OGRGeometryH hGeom, int i, double dfX, double dfY,
1055
1061
* points in the linestring, the point count will be increased to
1056
1062
* accommodate the request.
1057
1063
*
1064
+ * The geometry is promoted to include a Z and M component, if it does not
1065
+ * already have them.
1066
+ *
1058
1067
* @param hGeom handle to the geometry to add a vertex to.
1059
1068
* @param i the index of the vertex to assign (zero based) or
1060
1069
* zero for a point.
@@ -1118,6 +1127,9 @@ void OGR_G_SetPointZM(OGRGeometryH hGeom, int i, double dfX, double dfY,
1118
1127
* The vertex count of the line string is increased by one, and assigned from
1119
1128
* the passed location value.
1120
1129
*
1130
+ * The geometry is promoted to include a Z component, if it does not already
1131
+ * have one.
1132
+ *
1121
1133
* @param hGeom handle to the geometry to add a point to.
1122
1134
* @param dfX x coordinate of point to add.
1123
1135
* @param dfY y coordinate of point to add.
@@ -1161,6 +1173,9 @@ void OGR_G_AddPoint(OGRGeometryH hGeom, double dfX, double dfY, double dfZ)
1161
1173
* The vertex count of the line string is increased by one, and assigned from
1162
1174
* the passed location value.
1163
1175
*
1176
+ * If the geometry includes a Z or M component, the value for those components
1177
+ * for the added point will be 0.
1178
+ *
1164
1179
* @param hGeom handle to the geometry to add a point to.
1165
1180
* @param dfX x coordinate of point to add.
1166
1181
* @param dfY y coordinate of point to add.
@@ -1202,6 +1217,9 @@ void OGR_G_AddPoint_2D(OGRGeometryH hGeom, double dfX, double dfY)
1202
1217
* The vertex count of the line string is increased by one, and assigned from
1203
1218
* the passed location value.
1204
1219
*
1220
+ * The geometry is promoted to include a M component, if it does not already
1221
+ * have one.
1222
+ *
1205
1223
* @param hGeom handle to the geometry to add a point to.
1206
1224
* @param dfX x coordinate of point to add.
1207
1225
* @param dfY y coordinate of point to add.
@@ -1245,6 +1263,9 @@ void OGR_G_AddPointM(OGRGeometryH hGeom, double dfX, double dfY, double dfM)
1245
1263
* The vertex count of the line string is increased by one, and assigned from
1246
1264
* the passed location value.
1247
1265
*
1266
+ * The geometry is promoted to include a Z and M component, if it does not
1267
+ * already have them.
1268
+ *
1248
1269
* @param hGeom handle to the geometry to add a point to.
1249
1270
* @param dfX x coordinate of point to add.
1250
1271
* @param dfY y coordinate of point to add.
0 commit comments