567         CU_ASSERT_DOUBLE_EQUAL(point.
x, 0, 0.0001);
 
  568         CU_ASSERT_DOUBLE_EQUAL(point.
y, 0, 0.001);
 
  569         CU_ASSERT_DOUBLE_EQUAL(point.
z, 0, 0.001);
 
  575         CU_ASSERT_DOUBLE_EQUAL(point.
x, 2, 0.0001);
 
  576         CU_ASSERT_DOUBLE_EQUAL(point.
y, 2, 0.001);
 
  577         CU_ASSERT_DOUBLE_EQUAL(point.
z, 2, 0.001);
 
  583         CU_ASSERT_DOUBLE_EQUAL(point.
x, 1, 0.0001);
 
  584         CU_ASSERT_DOUBLE_EQUAL(point.
y, 1, 0.001);
 
  585         CU_ASSERT_DOUBLE_EQUAL(point.
z, 1, 0.001);
 
  591         CU_ASSERT_DOUBLE_EQUAL(point.
x, 1.6, 0.0001);
 
  592         CU_ASSERT_DOUBLE_EQUAL(point.
y, 1.6, 0.001);
 
  593         CU_ASSERT_DOUBLE_EQUAL(point.
z, 1.6, 0.001);
 
int lwpoint_getPoint4d_p(const LWPOINT *point, POINT4D *out)
LWLINE * lwgeom_as_lwline(const LWGEOM *lwgeom)
LWPOINT * lwline_interpolate_point_3d(const LWLINE *line, double distance)
Interpolate one point along a line in 3D.
void lwpoint_free(LWPOINT *pt)
#define LW_PARSER_CHECK_NONE
int lwgeom_has_z(const LWGEOM *geom)
Return LW_TRUE if geometry has Z ordinates.
LWGEOM * lwpoint_as_lwgeom(const LWPOINT *obj)
LWGEOM * lwgeom_from_wkt(const char *wkt, const char check)
#define LW_TRUE
Return types for functions with status returns.
int lwgeom_has_m(const LWGEOM *geom)
Return LW_TRUE if geometry has M ordinates.
void lwline_free(LWLINE *line)
LWLINE * lwline_construct_empty(int32_t srid, char hasz, char hasm)
int lwpoint_is_empty(const LWPOINT *point)