PostGIS  2.4.9dev-r@@SVN_REVISION@@
cu_measures.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "CUnit/Basic.h"
#include "liblwgeom_internal.h"
#include "cu_tester.h"
#include "measures.h"
#include "measures3d.h"
#include "lwtree.h"
Include dependency graph for cu_measures.c:

Go to the source code of this file.

Macros

#define DIST2DTEST(str1, str2, res)
 
#define DIST3DTEST(str1, str2, res)   do_test_mindistance_tolerance(str1, str2, res, __LINE__, lwgeom_mindistance3d_tolerance)
 

Functions

static LWGEOMlwgeom_from_text (const char *str)
 
static void do_test_mindistance_tolerance (char *in1, char *in2, double expected_res, int line, double(*distancef)(const LWGEOM *, const LWGEOM *, double))
 
static void test_mindistance2d_tolerance (void)
 
static void test_mindistance3d_tolerance (void)
 
static void test_rect_tree_contains_point (void)
 
static void test_rect_tree_intersects_tree (void)
 
static void test_lwgeom_segmentize2d (void)
 
static void test_lwgeom_locate_along (void)
 
static void test_lw_dist2d_pt_arc (void)
 
static void test_lw_dist2d_seg_arc (void)
 
static void test_lw_dist2d_arc_arc (void)
 
static void test_lw_arc_length (void)
 
static void test_lw_dist2d_pt_ptarrayarc (void)
 
static void test_lw_dist2d_ptarray_ptarrayarc (void)
 
static void test_lwgeom_tcpa (void)
 
static void test_lwgeom_is_trajectory (void)
 
void measures_suite_setup (void)