Opened 3 years ago
Closed 3 years ago
#4965 closed enhancement (fixed)
getPoint2d_p_ro is redundant
Reported by: | strk | Owned by: | strk |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 3.2.0 |
Component: | liblwgeom | Version: | master |
Keywords: | Cc: |
Description
The getPoint2d_cp() function does the same thing with a cleaner user interface (more const correctness)
getPoint2d_cp is defined in liblwgeom/lwinline.h which is included by liblwgeom_internal.h
Change History (3)
comment:1 by , 3 years ago
comment:2 by , 3 years ago
Proposed change (drop of the redundant function): https://gitlab.com/postgis/postgis/-/merge_requests/53
Note:
See TracTickets
for help on using tickets.
The comment above the definition of getPoint2d_p_ro, which is in lwgeodetic.c, says:
Is that true, Paul ? Doesn't sound correct to me ? How can you build a POINTARRAY which is not aligned ?