PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ getPoint2d()

POINT2D getPoint2d ( const POINTARRAY pa,
int  n 
)

Definition at line 333 of file lwgeom_api.c.

References getPoint2d_cp().

334 {
335  const POINT2D *result;
336  result = getPoint2d_cp(pa, n);
337  return *result;
338 }
const POINT2D * getPoint2d_cp(const POINTARRAY *pa, int n)
Returns a pointer into the POINTARRAY serialized_ptlist, suitable for reading from.
Definition: lwgeom_api.c:373
Here is the call graph for this function: