******************************************************************************** conan test conan-center-index\recipes\qhull\all\test_package\conanfile.py qhull/7.3.2@ --profile=C:\J\w\BuildSingleReference@7/21574/bbdd2937-0617-45c6-87fd-dac56f1f355a/profile.txt ******************************************************************************** Auto detecting your dev setup to initialize the default profile (C:\J\w\BuildSingleReference@7\.conan\profiles\default) Found Visual Studio 16 Default settings os=Windows os_build=Windows arch=x86_64 arch_build=x86_64 compiler=Visual Studio compiler.version=16 build_type=Release *** You can change them in C:\J\w\BuildSingleReference@7\.conan\profiles\default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Debug compiler=Visual Studio compiler.runtime=MTd compiler.version=14 os=Windows os_build=Windows [options] qhull:shared=False [build_requires] [env] qhull/7.3.2 (test package): Installing package Requirements qhull/7.3.2 from local cache - Cache Packages qhull/7.3.2:f27dcd2d5e453cb01f9324a959461903ce8116a0 - Download Installing (downloading, building) binaries... qhull/7.3.2: Retrieving package f27dcd2d5e453cb01f9324a959461903ce8116a0 from remote 'c3i_PR-6173' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz qhull/7.3.2: Package installed f27dcd2d5e453cb01f9324a959461903ce8116a0 qhull/7.3.2: Downloaded package revision edc1abc87628e49f0b3bb652c18689ac qhull/7.3.2: Appending PATH environment variable: C:\J\w\BuildSingleReference@7\.conan\data\qhull\7.3.2\_\_\package\f27dcd2d5e453cb01f9324a959461903ce8116a0\bin [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK qhull/7.3.2 (test package): Generator cmake_find_package_multi created QhullConfigVersion.cmake qhull/7.3.2 (test package): Generator cmake_find_package_multi created QhullTarget-debug.cmake qhull/7.3.2 (test package): Generator cmake_find_package_multi created QhullTargets.cmake qhull/7.3.2 (test package): Generator cmake_find_package_multi created QhullConfig.cmake qhull/7.3.2 (test package): Generator txt created conanbuildinfo.txt qhull/7.3.2 (test package): Generator cmake created conanbuildinfo.cmake qhull/7.3.2 (test package): Generated conaninfo.txt qhull/7.3.2 (test package): Generated graphinfo Using lockfile: 'C:\J\w\BuildSingleReference@7\conan-center-index\recipes\qhull\all\test_package\build\d3e896d1ba98e34861e6fd2b45d5220458acc1f6/conan.lock' Using cached profile from lockfile [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK qhull/7.3.2 (test package): Calling build() ----Running------ > cd C:\J\w\BuildSingleReference@7\conan-center-index\recipes\qhull\all\test_package\build\d3e896d1ba98e34861e6fd2b45d5220458acc1f6 && cmake -G "Visual Studio 14 2015 Win64" -DCONAN_LINK_RUNTIME="/MTd" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="Visual Studio" -DCONAN_COMPILER_VERSION="14" -DCONAN_CXX_FLAGS="/MP16" -DCONAN_C_FLAGS="/MP16" -DCMAKE_INSTALL_PREFIX="C:\J\w\BuildSingleReference@7\conan-center-index\recipes\qhull\all\test_package\build\d3e896d1ba98e34861e6fd2b45d5220458acc1f6\package" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_PREFIX_PATH="C:/J/w/BuildSingleReference@7/conan-center-index/recipes/qhull/all/test_package/build/d3e896d1ba98e34861e6fd2b45d5220458acc1f6" -DCMAKE_MODULE_PATH="C:/J/w/BuildSingleReference@7/conan-center-index/recipes/qhull/all/test_package/build/d3e896d1ba98e34861e6fd2b45d5220458acc1f6" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DQHULL_REENTRANT="True" -DQHULL_SHARED="False" -Wno-dev C:\J\w\BuildSingleReference@7\conan-center-index\recipes\qhull\all\test_package ----------------- -- Selecting Windows SDK version 10.0.14393.0 to target Windows 10.0.17763. -- The C compiler identification is MSVC 19.0.24215.1 -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Conan: called by CMake conan helper -- Conan: Adjusting output directories -- Conan: Using cmake targets configuration -- Library qhullstatic_rd found C:/J/w/BuildSingleReference@7/.conan/data/qhull/7.3.2/_/_/package/f27dcd2d5e453cb01f9324a959461903ce8116a0/lib/qhullstatic_rd.lib -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- This project seems to be plain C, using 'MSVC' compiler -- Library qhullstatic_rd found C:/J/w/BuildSingleReference@7/.conan/data/qhull/7.3.2/_/_/package/f27dcd2d5e453cb01f9324a959461903ce8116a0/lib/qhullstatic_rd.lib -- Found: C:/J/w/BuildSingleReference@7/.conan/data/qhull/7.3.2/_/_/package/f27dcd2d5e453cb01f9324a959461903ce8116a0/lib/qhullstatic_rd.lib -- Library qhullstatic_rd found C:/J/w/BuildSingleReference@7/.conan/data/qhull/7.3.2/_/_/package/f27dcd2d5e453cb01f9324a959461903ce8116a0/lib/qhullstatic_rd.lib -- Found: C:/J/w/BuildSingleReference@7/.conan/data/qhull/7.3.2/_/_/package/f27dcd2d5e453cb01f9324a959461903ce8116a0/lib/qhullstatic_rd.lib -- Configuring done -- Generating done -- Build files have been written to: C:/J/w/BuildSingleReference@7/conan-center-index/recipes/qhull/all/test_package/build/d3e896d1ba98e34861e6fd2b45d5220458acc1f6 ----Running------ > cmake --build C:\J\w\BuildSingleReference@7\conan-center-index\recipes\qhull\all\test_package\build\d3e896d1ba98e34861e6fd2b45d5220458acc1f6 --config Debug -- /m:16 /verbosity:minimal ----------------- Microsoft (R) Build Engine version 14.0.25420.1 Copyright (C) Microsoft Corporation. All rights reserved. Checking Build System Building Custom Rule C:/J/w/BuildSingleReference@7/conan-center-index/recipes/qhull/all/test_package/CMakeLists.txt test_package_r.c qhullstatic_rd.lib(global_r.obj) : warning LNK4099: PDB 'qhullstatic_r.pdb' was not found with 'qhullstatic_rd.lib(global_r.obj)' or at 'C:\J\w\BuildSingleReference@7\conan-center-index\recipes\qhull\all\test_package\build\d3e896d1ba98e34861e6fd2b45d5220458acc1f6\bin\qhullstatic_r.pdb'; linking object as if no debug info [C:\J\w\BuildSingleReference@7\conan-center-index\recipes\qhull\all\test_package\build\d3e896d1ba98e34861e6fd2b45d5220458acc1f6\test_package.vcxproj] qhullstatic_rd.lib(stat_r.obj) : warning LNK4099: PDB 'qhullstatic_r.pdb' was not found with 'qhullstatic_rd.lib(stat_r.obj)' or at 'C:\J\w\BuildSingleReference@7\conan-center-index\recipes\qhull\all\test_package\build\d3e896d1ba98e34861e6fd2b45d5220458acc1f6\bin\qhullstatic_r.pdb'; linking object as if no debug info [C:\J\w\BuildSingleReference@7\conan-center-index\recipes\qhull\all\test_package\build\d3e896d1ba98e34861e6fd2b45d5220458acc1f6\test_package.vcxproj] qhullstatic_rd.lib(geom2_r.obj) : warning LNK4099: PDB 'qhullstatic_r.pdb' was not found with 'qhullstatic_rd.lib(geom2_r.obj)' or at 'C:\J\w\BuildSingleReference@7\conan-center-index\recipes\qhull\all\test_package\build\d3e896d1ba98e34861e6fd2b45d5220458acc1f6\bin\qhullstatic_r.pdb'; linking object as if no debug info [C:\J\w\BuildSingleReference@7\conan-center-index\recipes\qhull\all\test_package\build\d3e896d1ba98e34861e6fd2b45d5220458acc1f6\test_package.vcxproj] qhullstatic_rd.lib(poly2_r.obj) : warning LNK4099: PDB 'qhullstatic_r.pdb' was not found with 'qhullstatic_rd.lib(poly2_r.obj)' or at 'C:\J\w\BuildSingleReference@7\conan-center-index\recipes\qhull\all\test_package\build\d3e896d1ba98e34861e6fd2b45d5220458acc1f6\bin\qhullstatic_r.pdb'; linking object as if no debug info [C:\J\w\BuildSingleReference@7\conan-center-index\recipes\qhull\all\test_package\build\d3e896d1ba98e34861e6fd2b45d5220458acc1f6\test_package.vcxproj] qhullstatic_rd.lib(merge_r.obj) : warning LNK4099: PDB 'qhullstatic_r.pdb' was not found with 'qhullstatic_rd.lib(merge_r.obj)' or at 'C:\J\w\BuildSingleReference@7\conan-center-index\recipes\qhull\all\test_package\build\d3e896d1ba98e34861e6fd2b45d5220458acc1f6\bin\qhullstatic_r.pdb'; linking object as if no debug info [C:\J\w\BuildSingleReference@7\conan-center-index\recipes\qhull\all\test_package\build\d3e896d1ba98e34861e6fd2b45d5220458acc1f6\test_package.vcxproj] qhullstatic_rd.lib(libqhull_r.obj) : warning LNK4099: PDB 'qhullstatic_r.pdb' was not found with 'qhullstatic_rd.lib(libqhull_r.obj)' or at 'C:\J\w\BuildSingleReference@7\conan-center-index\recipes\qhull\all\test_package\build\d3e896d1ba98e34861e6fd2b45d5220458acc1f6\bin\qhullstatic_r.pdb'; linking object as if no debug info [C:\J\w\BuildSingleReference@7\conan-center-index\recipes\qhull\all\test_package\build\d3e896d1ba98e34861e6fd2b45d5220458acc1f6\test_package.vcxproj] qhullstatic_rd.lib(geom_r.obj) : warning LNK4099: PDB 'qhullstatic_r.pdb' was not found with 'qhullstatic_rd.lib(geom_r.obj)' or at 'C:\J\w\BuildSingleReference@7\conan-center-index\recipes\qhull\all\test_package\build\d3e896d1ba98e34861e6fd2b45d5220458acc1f6\bin\qhullstatic_r.pdb'; linking object as if no debug info [C:\J\w\BuildSingleReference@7\conan-center-index\recipes\qhull\all\test_package\build\d3e896d1ba98e34861e6fd2b45d5220458acc1f6\test_package.vcxproj] qhullstatic_rd.lib(poly_r.obj) : warning LNK4099: PDB 'qhullstatic_r.pdb' was not found with 'qhullstatic_rd.lib(poly_r.obj)' or at 'C:\J\w\BuildSingleReference@7\conan-center-index\recipes\qhull\all\test_package\build\d3e896d1ba98e34861e6fd2b45d5220458acc1f6\bin\qhullstatic_r.pdb'; linking object as if no debug info [C:\J\w\BuildSingleReference@7\conan-center-index\recipes\qhull\all\test_package\build\d3e896d1ba98e34861e6fd2b45d5220458acc1f6\test_package.vcxproj] qhullstatic_rd.lib(qset_r.obj) : warning LNK4099: PDB 'qhullstatic_r.pdb' was not found with 'qhullstatic_rd.lib(qset_r.obj)' or at 'C:\J\w\BuildSingleReference@7\conan-center-index\recipes\qhull\all\test_package\build\d3e896d1ba98e34861e6fd2b45d5220458acc1f6\bin\qhullstatic_r.pdb'; linking object as if no debug info [C:\J\w\BuildSingleReference@7\conan-center-index\recipes\qhull\all\test_package\build\d3e896d1ba98e34861e6fd2b45d5220458acc1f6\test_package.vcxproj] qhullstatic_rd.lib(mem_r.obj) : warning LNK4099: PDB 'qhullstatic_r.pdb' was not found with 'qhullstatic_rd.lib(mem_r.obj)' or at 'C:\J\w\BuildSingleReference@7\conan-center-index\recipes\qhull\all\test_package\build\d3e896d1ba98e34861e6fd2b45d5220458acc1f6\bin\qhullstatic_r.pdb'; linking object as if no debug info [C:\J\w\BuildSingleReference@7\conan-center-index\recipes\qhull\all\test_package\build\d3e896d1ba98e34861e6fd2b45d5220458acc1f6\test_package.vcxproj] qhullstatic_rd.lib(random_r.obj) : warning LNK4099: PDB 'qhullstatic_r.pdb' was not found with 'qhullstatic_rd.lib(random_r.obj)' or at 'C:\J\w\BuildSingleReference@7\conan-center-index\recipes\qhull\all\test_package\build\d3e896d1ba98e34861e6fd2b45d5220458acc1f6\bin\qhullstatic_r.pdb'; linking object as if no debug info [C:\J\w\BuildSingleReference@7\conan-center-index\recipes\qhull\all\test_package\build\d3e896d1ba98e34861e6fd2b45d5220458acc1f6\test_package.vcxproj] qhullstatic_rd.lib(usermem_r.obj) : warning LNK4099: PDB 'qhullstatic_r.pdb' was not found with 'qhullstatic_rd.lib(usermem_r.obj)' or at 'C:\J\w\BuildSingleReference@7\conan-center-index\recipes\qhull\all\test_package\build\d3e896d1ba98e34861e6fd2b45d5220458acc1f6\bin\qhullstatic_r.pdb'; linking object as if no debug info [C:\J\w\BuildSingleReference@7\conan-center-index\recipes\qhull\all\test_package\build\d3e896d1ba98e34861e6fd2b45d5220458acc1f6\test_package.vcxproj] qhullstatic_rd.lib(userprintf_r.obj) : warning LNK4099: PDB 'qhullstatic_r.pdb' was not found with 'qhullstatic_rd.lib(userprintf_r.obj)' or at 'C:\J\w\BuildSingleReference@7\conan-center-index\recipes\qhull\all\test_package\build\d3e896d1ba98e34861e6fd2b45d5220458acc1f6\bin\qhullstatic_r.pdb'; linking object as if no debug info [C:\J\w\BuildSingleReference@7\conan-center-index\recipes\qhull\all\test_package\build\d3e896d1ba98e34861e6fd2b45d5220458acc1f6\test_package.vcxproj] qhullstatic_rd.lib(io_r.obj) : warning LNK4099: PDB 'qhullstatic_r.pdb' was not found with 'qhullstatic_rd.lib(io_r.obj)' or at 'C:\J\w\BuildSingleReference@7\conan-center-index\recipes\qhull\all\test_package\build\d3e896d1ba98e34861e6fd2b45d5220458acc1f6\bin\qhullstatic_r.pdb'; linking object as if no debug info [C:\J\w\BuildSingleReference@7\conan-center-index\recipes\qhull\all\test_package\build\d3e896d1ba98e34861e6fd2b45d5220458acc1f6\test_package.vcxproj] qhullstatic_rd.lib(user_r.obj) : warning LNK4099: PDB 'qhullstatic_r.pdb' was not found with 'qhullstatic_rd.lib(user_r.obj)' or at 'C:\J\w\BuildSingleReference@7\conan-center-index\recipes\qhull\all\test_package\build\d3e896d1ba98e34861e6fd2b45d5220458acc1f6\bin\qhullstatic_r.pdb'; linking object as if no debug info [C:\J\w\BuildSingleReference@7\conan-center-index\recipes\qhull\all\test_package\build\d3e896d1ba98e34861e6fd2b45d5220458acc1f6\test_package.vcxproj] test_package.vcxproj -> C:\J\w\BuildSingleReference@7\conan-center-index\recipes\qhull\all\test_package\build\d3e896d1ba98e34861e6fd2b45d5220458acc1f6\bin\test_package.exe test_package.vcxproj -> C:/J/w/BuildSingleReference@7/conan-center-index/recipes/qhull/all/test_package/build/d3e896d1ba98e34861e6fd2b45d5220458acc1f6/bin/test_package.pdb (Full PDB) Building Custom Rule C:/J/w/BuildSingleReference@7/conan-center-index/recipes/qhull/all/test_package/CMakeLists.txt qhull/7.3.2 (test package): Running test() ----Running------ > bin\test_package ----------------- ======== user_eg 'cube qhull options' 'Delaunay options' 'halfspace options' This is the output from user_eg_r.c. It shows how qhull() may be called from an application, via Qhull's shared, reentrant library. user_eg is not part of Qhull itself. If user_eg fails immediately, user_eg_r.c was incorrectly linked to Qhull's non-reentrant library, libqhull. Try -- user_eg 'T1' 'T1' 'T1' ======== compute convex hull of cube after rotating input input -1 -1 -1 1 -1 -1 -1 1 -1 1 1 -1 -1 -1 1 1 -1 1 -1 1 1 1 1 1 8 vertices and 6 facets with normals: -0 -0 -1 0 -1 0 1 -0 -0 -1 -0 -0 0 1 -0 -0 -0 1 ======== compute 3-d Delaunay triangulation seed: 1625529183 input 0.983 -0.412 -0.884 -0.543 -0.68 -0.476 0.119 0.157 0.189 -0.0108 0.402 0.849 -0.665 0.161 0.872 0.0141 0.94 -0.315 0.042 0.487 0.949 -0.94 -0.862 -0.783 8 vertices and 17 facets with normals: 0.016 0.55 0.093 0.83 0.87 0.43 0.16 -0.18 -0.12 0.14 -0.95 -0.25 0.076 0.058 -0.85 -0.51 0.25 -0.53 0.61 0.53 0.23 -0.82 0.52 0.082 -0.2 0.6 0.13 0.76 -0.87 0.32 -0.23 -0.29 -0.82 0.3 -0.18 -0.45 0.65 -0.53 0.52 -0.16 0.34 -0.79 0.5 -0.11 0.3 -0.79 0.54 -0.01 0.3 -0.8 0.53 -0.027 0.22 -0.79 0.54 -0.17 0.32 0.77 0.32 -0.45 -0.43 0.78 0.33 -0.3 -0.5 0.67 0.26 -0.49 find 3-d Delaunay triangle or adjacent triangle closest to [0.5, 0.5, ...] 0.12 0.16 0.19 0.04 0.49 0.95 0.01 0.94 -0.32 0.98 -0.41 -0.88 ======== Compute a new triangulation as a separate instance of Qhull seed: 1625529184 input 0.983 -0.149 0.627 0.374 0.385 -0.0376 0.213 -0.485 -0.453 -0.141 -0.831 -0.112 0.997 0.23 0.978 -0.927 0.282 -0.3 0.809 0.621 -0.216 0.434 0.316 -0.923 8 vertices and 17 facets with normals: -0.21 -0.42 -0.33 0.82 -0.38 -0.023 0.85 -0.37 0.29 -0.64 -0.39 0.6 -0.26 -0.094 0.86 -0.42 -0.16 0.75 -0.2 0.61 -0.19 0.9 0.38 -0.076 -0.15 0.9 -0.33 -0.26 0.87 -0.12 -0.39 0.28 0.74 0.37 0.34 -0.44 -0.37 -0.41 -0.83 0.033 -0.48 -0.1 -0.0044 -0.87 -0.26 0.22 -0.67 -0.66 0.48 -0.67 -0.43 0.36 0.38 -0.43 0.44 -0.69 0.76 -0.052 -0.42 -0.49 0.87 -0.28 -0.36 -0.21 0.86 -0.18 -0.18 -0.45 ======== Free memory allocated by the new instance of Qhull, and redisplay the old results. 8 vertices and 17 facets with normals: 0.016 0.55 0.093 0.83 0.87 0.43 0.16 -0.18 -0.12 0.14 -0.95 -0.25 0.076 0.058 -0.85 -0.51 0.25 -0.53 0.61 0.53 0.23 -0.82 0.52 0.082 -0.2 0.6 0.13 0.76 -0.87 0.32 -0.23 -0.29 -0.82 0.3 -0.18 -0.45 0.65 -0.53 0.52 -0.16 0.34 -0.79 0.5 -0.11 0.3 -0.79 0.54 -0.01 0.3 -0.8 0.53 -0.027 0.22 -0.79 0.54 -0.17 0.32 0.77 0.32 -0.45 -0.43 0.78 0.33 -0.3 -0.5 0.67 0.26 -0.49 ======== compute halfspace intersection about the origin for a diamond input as halfspace coefficients + offsets -1 -1 -1 -1 1 -1 -1 -1 -1 1 -1 -1 1 1 -1 -1 -1 -1 1 -1 1 -1 1 -1 -1 1 1 -1 1 1 1 -1 3 6 0 0 -1 0 -1 0 1 0 0 -1 0 0 0 1 0 0 0 1 8 vertices and 6 facets with normals: -0 -0 -1 0 -1 0 1 -0 -0 -1 -0 -0 0 1 -0 -0 -0 1 CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_INSTALL_BINDIR CMAKE_INSTALL_DATAROOTDIR CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_OLDINCLUDEDIR CMAKE_INSTALL_SBINDIR Convex hull of 8 points in 3-d: Number of vertices: 8 Number of facets: 6 Number of non-simplicial facets: 6 Statistics for: | qhull s Tcv Number of points processed: 8 Number of hyperplanes created: 11 Number of distance tests for qhull: 34 Number of distance tests for merging: 96 Number of distance tests for checking: 100 Number of merged facets: 6 CPU seconds to compute hull (after input): 0.002 Output completed. Verifying that all points are below outer planes of all facets. Will make 48 distance computations. Delaunay triangulation by the convex hull of 8 points in 4-d: Number of input sites: 8 Number of Delaunay regions: 13 Statistics for: | qhull s d Tcv Number of points processed: 8 Number of hyperplanes created: 28 Number of facets in hull: 17 Number of distance tests for qhull: 31 CPU seconds to compute hull (after input): 0 Output completed. Verifying that all points are below 1.4e-14 of all facets. Will make 104 distance computations. Delaunay triangulation by the convex hull of 8 points in 4-d: Number of input sites: 8 Number of Delaunay regions: 11 Statistics for: | qhull s d Tcv Number of points processed: 8 Number of hyperplanes created: 24 Number of facets in hull: 17 Number of distance tests for qhull: 32 CPU seconds to compute hull (after input): 0 Output completed. Verifying that all points are below 1.2e-14 of all facets. Will make 88 distance computations. Halfspace intersection by the convex hull of 8 points in 3-d: Number of halfspaces: 8 Number of non-redundant halfspaces: 8 Number of intersection points: 6 Number of non-simplicial intersection points: 6 Statistics for: | qhull H0 s Tcv Fp Number of points processed: 8 Number of hyperplanes created: 11 Number of distance tests for qhull: 34 Number of distance tests for merging: 96 Number of distance tests for checking: 100 Number of merged facets: 6 CPU seconds to compute hull (after input): 0 Output completed. Verifying that all points are below outer planes of all facets. Will make 48 distance computations.