PostGIS
2.4.9dev-r@@SVN_REVISION@@
|
int ptarray_append_point | ( | POINTARRAY * | pa, |
const POINT4D * | pt, | ||
int | allow_duplicates | ||
) |
Append a point to the end of an existing POINTARRAY If allow_duplicate is LW_FALSE, then a duplicate point will not be added.
Definition at line 156 of file ptarray.c.
References POINTARRAY::flags, FLAGS_GET_M, FLAGS_GET_Z, getPoint4d_p(), LW_FAILURE, LW_FALSE, LW_SUCCESS, LWDEBUGF, lwerror(), POINT4D::m, POINTARRAY::npoints, ptarray_insert_point(), POINT4D::x, POINT4D::y, and POINT4D::z.
Referenced by _lwt_EdgeMotionArea(), BOX2D_to_LWGEOM(), BOX3D_to_LWGEOM(), encode_mpoint(), gbox_to_gml2(), gbox_to_gml3(), GenerateLineStringGeometry(), GeneratePointGeometry(), GeneratePolygonGeometry(), lwarc_linearize(), lwcircstring_get_lwpoint(), lwcircstring_linearize(), lwcompound_linearize(), LWGEOM_envelope(), lwgeom_from_encoded_polyline(), lwline_clip_to_ordinate_range(), lwline_from_lwgeom_array(), lwline_from_ptarray(), lwline_get_lwpoint(), lwline_simplify(), lwline_split_by_point_to(), lwpoint_make(), lwpoint_make2d(), lwpoint_make3dm(), lwpoint_make3dz(), lwpoint_make4d(), lwpoly_construct_circle(), lwpoly_construct_rectangle(), lwpoly_from_twkb_state(), parse_geojson_coord(), parse_gml_coord(), parse_gml_coordinates(), parse_gml_pos(), parse_gml_poslist(), parse_kml_coordinates(), parse_kml_polygon(), path_to_geometry(), polygon_to_geometry(), ptarray_force_dims(), ptarray_grid(), ptarray_locate_along(), ptarray_locate_between_m(), ptarray_segmentize2d(), ptarray_segmentize_sphere(), ptarray_segmentize_sphere_edge_recursive(), ptarray_set_effective_area(), ptarray_simplify(), ptarray_substring(), rt_raster_get_convex_hull(), rt_raster_get_envelope_geom(), RTreeCreateLeafNode(), ST_BoundingDiagonal(), test_ptarray_append_point(), and wkt_parser_ptarray_add_coord().