#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"
Go to the source code of this file.
|
#define | DIST2DTEST(str1, str2, res) |
|
#define | DIST3DTEST(str1, str2, res) do_test_mindistance_tolerance(str1, str2, res, __LINE__, lwgeom_mindistance3d_tolerance) |
|
#define | TDT(w1, w2, d) CU_ASSERT_DOUBLE_EQUAL(test_rect_tree_distance_tree_case(w1, w2), d, 0.00001); |
|
|
static LWGEOM * | lwgeom_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 int | tree_pt (RECT_NODE *tree, double x, double y) |
|
static void | test_rect_tree_contains_point (void) |
|
static int | tree_inter (const char *wkt1, const char *wkt2) |
|
static void | test_rect_tree_intersects_tree (void) |
|
static double | test_rect_tree_distance_tree_case (const char *wkt1, const char *wkt2) |
|
static void | test_rect_tree_distance_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) |
|