Skip to main content

Implementation of Cascading upper bounds for triangle soup Pompeiu-Hausdorff distance

Project description

pompeiu_hausdorff

Code for "Cascading upper bounds for triangle soup Pompeiu-Hausdorff distance" (SGP 2024).
Authors: Leonardo Sacht and Alec Jacobson.

Note 1: This code has been tested on a Mac OS machine
Note 2: Command "cmake .." below will fetch all the necessary libraries (Eigen, libigl). The size of these libraries is approximately 70 MB.

-------- Compilation --------

mkdir build
cd build
cmake ..
make

-------- Example usage --------

./pompeiu_hausdorff ../meshes/107100.obj ../meshes/107100_sf.obj 1e-8 1000000 1

-------- Input ----------
argv[1]: path to triangle soup A in .obj format
argv[2]: path to triangle soup B in .obj format
argv[3]: tolerance for the difference between upper and lower bound
argv[4]: factor to define the maximum allowed number of faces and vertices in the subdivided mesh A with respect to the number of faces and vertices of the initial mesh A
argv[5]: 0 (false) or 1 (true) to normalize tolerance by the length of the diagonal of A's bounding box
-------- Output (printed) ----------
lower bound (absolute and relative to dA), upper bound (absolute and relative to dA), and timings

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cascading-upper-bounds-1.0.0.tar.gz (544.1 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

cascading_upper_bounds-1.0.0-cp312-abi3-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.12+Windows x86-64

cascading_upper_bounds-1.0.0-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

cascading_upper_bounds-1.0.0-cp312-abi3-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.12+macOS 11.0+ ARM64

cascading_upper_bounds-1.0.0-cp312-abi3-macosx_10_14_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.12+macOS 10.14+ x86-64

cascading_upper_bounds-1.0.0-cp311-cp311-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.11Windows x86-64

cascading_upper_bounds-1.0.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

cascading_upper_bounds-1.0.0-cp311-cp311-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

cascading_upper_bounds-1.0.0-cp311-cp311-macosx_10_14_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.11macOS 10.14+ x86-64

cascading_upper_bounds-1.0.0-cp310-cp310-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.10Windows x86-64

cascading_upper_bounds-1.0.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

cascading_upper_bounds-1.0.0-cp310-cp310-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

cascading_upper_bounds-1.0.0-cp310-cp310-macosx_10_14_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.10macOS 10.14+ x86-64

cascading_upper_bounds-1.0.0-cp39-cp39-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.9Windows x86-64

cascading_upper_bounds-1.0.0-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

cascading_upper_bounds-1.0.0-cp39-cp39-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

cascading_upper_bounds-1.0.0-cp39-cp39-macosx_10_14_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.9macOS 10.14+ x86-64

cascading_upper_bounds-1.0.0-cp38-cp38-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.8Windows x86-64

cascading_upper_bounds-1.0.0-cp38-cp38-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

cascading_upper_bounds-1.0.0-cp38-cp38-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.8macOS 11.0+ ARM64

cascading_upper_bounds-1.0.0-cp38-cp38-macosx_10_14_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

File details

Details for the file cascading-upper-bounds-1.0.0.tar.gz.

File metadata

  • Download URL: cascading-upper-bounds-1.0.0.tar.gz
  • Upload date:
  • Size: 544.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.15

File hashes

Hashes for cascading-upper-bounds-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a6de33cf54f66c961143d8d9d4d324874fad8b5b2d7f0e36bd76473ca0a440d7
MD5 99eb7ed906e1204c4ebbbe501dfa8190
BLAKE2b-256 a4e766bdc986c9ca9145c8aefb1d5fd2365dc399d24de55f11435dc206bb46dc

See more details on using hashes here.

File details

Details for the file cascading_upper_bounds-1.0.0-cp312-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for cascading_upper_bounds-1.0.0-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 16b1cbb69727ba68e89453e82bad630f1f0e32788b29a6a1e0efa9a08702a8d3
MD5 8d809c3629dd9baea210c878bc32df47
BLAKE2b-256 94ba2729ceb9b99c94d9107fe731ddb960d23257297043bf46b89a127c07d15b

See more details on using hashes here.

File details

Details for the file cascading_upper_bounds-1.0.0-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cascading_upper_bounds-1.0.0-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9963f223e6abd5a62d7c0ebf814718fd068f62cc03f57939f579aa40c0ab81fa
MD5 ddc7fda0e010a41e3c995eb87eb3afd8
BLAKE2b-256 5197a32820281ef910da0a2fbf62cfcfdb6c9b69275ab3c6f8a5e4f5ca776409

See more details on using hashes here.

File details

Details for the file cascading_upper_bounds-1.0.0-cp312-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cascading_upper_bounds-1.0.0-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4c217cd59b0f2297a22993f4c69a1cab023a8de5b6b37292ab9d0ab2b7b60abe
MD5 3de97922df90bd09b7d063953680cfa9
BLAKE2b-256 f76ee3081e14ed02fe35e8b4ec4a24556e854921f161eb6f68c503da82b94804

See more details on using hashes here.

File details

Details for the file cascading_upper_bounds-1.0.0-cp312-abi3-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for cascading_upper_bounds-1.0.0-cp312-abi3-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 6caadd263433fbbe8cbb697b5365f022063013bc72217aaf1864b3ad7d593c71
MD5 81581a8f7282f88108e7341ba35d0c99
BLAKE2b-256 4f0123dfe5b64e55b3760920ccd3dc7801cd155ada781b14464a6d0835386ee5

See more details on using hashes here.

File details

Details for the file cascading_upper_bounds-1.0.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for cascading_upper_bounds-1.0.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e21d6bd9b655bbd4dcdebf02506feb1d579adc1d4f899937f46c1aa9be6a16c4
MD5 ed2c2009395698f1a1833a0e6af6ac2d
BLAKE2b-256 56a8a645ffd644c0896d09ca21beef9889e194ca50976a65c9608b71e606d378

See more details on using hashes here.

File details

Details for the file cascading_upper_bounds-1.0.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cascading_upper_bounds-1.0.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c3b507c767474e145d7c508d2076a8516954157132620e78eb8c7cec15de8299
MD5 650b8231640701457694e478a906fadf
BLAKE2b-256 02c3079eea759a3f5860c02ee09f1d6b8975ebf2fd616ec1b0a8d7a219650a38

See more details on using hashes here.

File details

Details for the file cascading_upper_bounds-1.0.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cascading_upper_bounds-1.0.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5969de72c19ece1cf82cb8a00d0004ded64e29f7bae50a4cfaf89a9e37f20c23
MD5 519331eae756609675fe24d9573dd339
BLAKE2b-256 8e7c1f4893aacad42d7e55d91d0f4c5f88cb2371a2b902fdc41fdbb5f50c8198

See more details on using hashes here.

File details

Details for the file cascading_upper_bounds-1.0.0-cp311-cp311-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for cascading_upper_bounds-1.0.0-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 f52ef42681d6aa166841e0d25dff7062790f9ff94551a973ffcfb376894ff792
MD5 22f972c9dffc2ebb3617e536e5522039
BLAKE2b-256 a7563c9a97d8b8011b9487f729dadb8dabd7fa7d027785104fcc115b877baef4

See more details on using hashes here.

File details

Details for the file cascading_upper_bounds-1.0.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for cascading_upper_bounds-1.0.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 efe69cc6204a2923f595051eeaaef095bcddb9308663060948b09c84c407aed2
MD5 bc34675f6c9aec1948e84938280ad6b8
BLAKE2b-256 3b9240885eb82cd6d26e7eb4ae747202a20f2c1aff0fd399daa8a204f6fe3ddc

See more details on using hashes here.

File details

Details for the file cascading_upper_bounds-1.0.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cascading_upper_bounds-1.0.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a18e2b70c3828b923cab62a64b2552c74d11e7dcfdf66dd87dc423d8a9c2b537
MD5 e5521cb8a739097308021f821675f84a
BLAKE2b-256 9f84b86fd6feb6664baec1e6071795c07c34822f5bb4bbca6f0f7f215b42b53b

See more details on using hashes here.

File details

Details for the file cascading_upper_bounds-1.0.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cascading_upper_bounds-1.0.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e15cae309f16c7613b0a26166c0e689386b99060d46812350990f0785840b413
MD5 591cc4c0ac285213ad630b9ff0d47f49
BLAKE2b-256 0a9b53498307cdacbdb01d431184b6ab5ed57e52d2966194d1cb95114f60dd1a

See more details on using hashes here.

File details

Details for the file cascading_upper_bounds-1.0.0-cp310-cp310-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for cascading_upper_bounds-1.0.0-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 6c477e48585057bcb019f6b7ea43895c721eb42269c40f80a3f273a2ac0ba8f9
MD5 29df68672f9319e452099344b98b71c7
BLAKE2b-256 492086ccab4941cf93bb87dcc12fb8dc1bbf3b0f65e8ad7b62488057aa34d1bf

See more details on using hashes here.

File details

Details for the file cascading_upper_bounds-1.0.0-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for cascading_upper_bounds-1.0.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 49ad6f273ab0e65ab36fb9e1625d1eef630c3b1b80f414372470b745dbfc2dab
MD5 e3daf07d88c54218018bba2a21acf07e
BLAKE2b-256 5047ed9f09ef6ac5fce31e2ceca38712fd6455dd6bb28b2d21f529ac89c35e5d

See more details on using hashes here.

File details

Details for the file cascading_upper_bounds-1.0.0-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cascading_upper_bounds-1.0.0-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7ccd0d14b3d750bb7e9f4113657b36f13bd3c5f36e39c6ac6a135c623a90380e
MD5 2ee6b2a8ecd1266f591428fb502e33ea
BLAKE2b-256 6519096107d20355a9fcc8b43f70b68fedf9df086c8afffddfd18c444fe1d852

See more details on using hashes here.

File details

Details for the file cascading_upper_bounds-1.0.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cascading_upper_bounds-1.0.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 af93dffc126027575d4717cc8e9dd6707922512e86ba81d3d6beecaee5285d07
MD5 6f1af22bab6240824fbd6def9de62857
BLAKE2b-256 cf8481e38048a4557b33994884b9c1a61e0ffd5b0bae7e4a70a061b831d1ef35

See more details on using hashes here.

File details

Details for the file cascading_upper_bounds-1.0.0-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for cascading_upper_bounds-1.0.0-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 7204a7b674be72b62a628c39bc533c0f15ac391e6dfbd08a51d6f2dceac5018f
MD5 0c735e8f1bff27b2d14a9474cddde9ee
BLAKE2b-256 75121f137ef444d92bb2e1b5e2f3e956036cd83c1ebfe6e6abeb16fd7154807f

See more details on using hashes here.

File details

Details for the file cascading_upper_bounds-1.0.0-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for cascading_upper_bounds-1.0.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 d60bfd57c5f4ef5888b1ab449ac973e56174640977776092b14afe6b508725a5
MD5 f8a1ac2890e08dd8213a6183076ddcb1
BLAKE2b-256 2784a877a3b2686662c6a9d4d3a4e296eb8f2547a8e5fa36bcb42c002add19dd

See more details on using hashes here.

File details

Details for the file cascading_upper_bounds-1.0.0-cp38-cp38-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cascading_upper_bounds-1.0.0-cp38-cp38-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 14ef02f9b7e5b9d0c6f076dbf9f936a370f7cf8df18b059fd2ad0562c2b103e0
MD5 3ae88f5cd8a6d1646a2ce8334fd256be
BLAKE2b-256 0a7b4dc788e3e9753ca7e2cc7e02aa643241829127a791fa63a085bb15b6c193

See more details on using hashes here.

File details

Details for the file cascading_upper_bounds-1.0.0-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cascading_upper_bounds-1.0.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 eb86ae77793824f2029f4056f6d8e84cd12419c34cfb93e7cc6bc57114fd5cf9
MD5 4db0246dd288f317cbbbe2192e6a21ef
BLAKE2b-256 d8b03cd608152ef4ab93e750073c4060e7ad9876a41f6be62dee2ba4b2ec393b

See more details on using hashes here.

File details

Details for the file cascading_upper_bounds-1.0.0-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for cascading_upper_bounds-1.0.0-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 f2fe0745365d2a56c31ce4a405a9f5df99c4132b709f0dfabddae13205a710f6
MD5 f1edf46d4ca059dee6e234447744a7b9
BLAKE2b-256 1ee1a1c7d2334e935ebfc7892149fc3e4aa06c59673aadf2b859f51e8d217b86

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page