Definition at line 1117 of file lwlinearreferencing.c.
1118{
1119 uint32_t i = from;
1121
1122
1124 for (i = from + 1; i < pa->
npoints; i++)
1125 {
1127
1129 return i - 1;
1130
1131 p1 = p2;
1132 }
1133
1134 return -1;
1135}
int getPoint4d_p(const POINTARRAY *pa, uint32_t n, POINT4D *point)
#define LW_TRUE
Return types for functions with status returns.
static int segment_locate_along(const POINT4D *p1, const POINT4D *p2, double m, double offset, POINT4D *pn)
References getPoint4d_p(), LW_TRUE, POINTARRAY::npoints, and segment_locate_along().
Referenced by lwgeom_cpa_within(), and lwgeom_tcpa().