PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ getPoint_internal()

static uint8_t* getPoint_internal ( const POINTARRAY pa,
uint32_t  n 
)
inlinestatic

Definition at line 67 of file lwinline.h.

68 {
69  size_t size;
70  uint8_t *ptr;
71 
72 #if PARANOIA_LEVEL > 0
73  assert(pa);
74  assert(n <= pa->npoints);
75  assert(n <= pa->maxpoints);
76 #endif
77 
78  size = ptarray_point_size(pa);
79  ptr = pa->serialized_pointlist + size * n;
80 
81  return ptr;
82 }
static size_t ptarray_point_size(const POINTARRAY *pa)
Definition: lwinline.h:48
uint8_t * serialized_pointlist
Definition: liblwgeom.h:420

References ptarray_point_size(), and POINTARRAY::serialized_pointlist.

Referenced by circ_node_leaf_new(), circ_node_leaf_point_new(), getPoint2d_cp(), getPoint2d_p(), getPoint2d_p_ro(), getPoint3d_cp(), getPoint3dm_p(), getPoint3dz_p(), getPoint4d_cp(), getPoint4d_p(), gserialized1_from_lwcircstring(), gserialized1_from_lwline(), gserialized1_from_lwpoint(), gserialized1_from_lwpoly(), gserialized1_from_lwtriangle(), gserialized2_from_lwcircstring(), gserialized2_from_lwline(), gserialized2_from_lwpoint(), gserialized2_from_lwpoly(), gserialized2_from_lwtriangle(), lwcircstring_addpoint(), lwcircstring_from_lwmpoint(), lwcircstring_from_lwpointarray(), lwcompound_is_closed(), LWGEOM2GEOS(), lwline_make_geos_friendly(), parse_gml_curve(), ptarray_addPoint(), ptarray_append_ptarray(), ptarray_calc_areas(), ptarray_close2d(), ptarray_copy_point(), ptarray_grid_in_place(), ptarray_insert_point(), ptarray_is_closed(), ptarray_is_closed_2d(), ptarray_is_closed_3d(), ptarray_longitude_shift(), ptarray_merge(), ptarray_remove_point(), ptarray_removePoint(), ptarray_same(), ptarray_set_point4d(), ptarray_to_twkb_buf(), ptarray_to_wkb_buf(), ptarray_to_wkt_sb(), ring_make_geos_friendly(), and tune_areas().

Here is the call graph for this function:
Here is the caller graph for this function: