{"id":33936861,"url":"https://github.com/ambuc/quadtree","last_synced_at":"2026-04-09T03:32:06.226Z","repository":{"id":34500731,"uuid":"167450157","full_name":"ambuc/quadtree","owner":"ambuc","description":"🌲 Point/region Quadtree implementation for Rust.","archived":false,"fork":false,"pushed_at":"2023-12-18T16:39:54.000Z","size":243,"stargazers_count":39,"open_issues_count":12,"forks_count":12,"subscribers_count":4,"default_branch":"master","last_synced_at":"2026-01-02T11:19:15.062Z","etag":null,"topics":["algorithms","graphics","quadtree","rust-library","spatial","tree","visualization"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/quadtree_rs","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ambuc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-01-24T22:52:24.000Z","updated_at":"2025-08-10T14:01:55.000Z","dependencies_parsed_at":"2023-11-29T02:23:25.417Z","dependency_job_id":"72c5f861-1677-4a75-9f64-d2f01c34830c","html_url":"https://github.com/ambuc/quadtree","commit_stats":{"total_commits":164,"total_committers":6,"mean_commits":"27.333333333333332","dds":0.07926829268292679,"last_synced_commit":"6cec9a70fda904df1d4ce744f4e3cefe815b5d6e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ambuc/quadtree","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ambuc%2Fquadtree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ambuc%2Fquadtree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ambuc%2Fquadtree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ambuc%2Fquadtree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ambuc","download_url":"https://codeload.github.com/ambuc/quadtree/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ambuc%2Fquadtree/sbom","scorecard":{"id":188799,"data":{"date":"2025-08-11","repo":{"name":"github.com/ambuc/quadtree","commit":"6cec9a70fda904df1d4ce744f4e3cefe815b5d6e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.6,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":4,"reason":"Found 6/15 approved changesets -- score normalized to 4","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 27 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-16T20:15:27.686Z","repository_id":34500731,"created_at":"2025-08-16T20:15:27.686Z","updated_at":"2025-08-16T20:15:27.686Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31584572,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"online","status_checked_at":"2026-04-09T02:00:06.848Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithms","graphics","quadtree","rust-library","spatial","tree","visualization"],"created_at":"2025-12-12T14:35:51.805Z","updated_at":"2026-04-09T03:32:06.221Z","avatar_url":"https://github.com/ambuc.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [quadtree_rs](https://crates.io/crates/quadtree_rs)\n\n[![crates.io\nbadge](https://img.shields.io/crates/v/quadtree_rs.svg)](https://crates.io/crates/quadtree_rs)\n[![docs.rs\nbadge](https://docs.rs/quadtree_rs/badge.svg)](https://docs.rs/quadtree_rs)\n[![license](https://img.shields.io/crates/l/quadtree_rs.svg)](https://github.com/ambuc/quadtree/blob/master/LICENSE)\n\n[Point/region Quadtree](https://en.wikipedia.org/wiki/Quadtree) with support for\noverlapping regions.\n\nFor documentation, see [docs.rs/quadtree_rs](https://docs.rs/quadtree_rs/).\n\n# Quick Start\n\n```rust\nuse quadtree_rs::{area::AreaBuilder, point::Point, Quadtree};\n\n// Instantiate a new quadtree which associates String values with u64\n// coordinates.\nlet mut qt = Quadtree::\u003cu64, String\u003e::new(/*depth=*/4);\n\n// A depth of four means a square with width (and height) 2^4.\nassert_eq!(qt.width(), 16);\n\n// Associate the value \"foo\" with a rectangle of size 2x1, anchored at (0, 0).\nlet region_a = AreaBuilder::default()\n    .anchor(Point {x: 0, y: 0})\n    .dimensions((2, 1))\n    .build().unwrap();\nqt.insert(region_a, \"foo\".to_string());\n\n// Query over a region of size 2x2, anchored at (1, 0).\nlet region_b = AreaBuilder::default()\n    .anchor(Point {x: 1, y: 0})\n    .dimensions((2, 2))\n    .build().unwrap();\nlet mut query = qt.query(region_b);\n\n// The query region (region_b) intersects the region \"foo\" is associated with\n// (region_a), so the query iterator returns \"foo\" by reference.\nassert_eq!(query.next().unwrap().value_ref(), \"foo\");\n```\n\n# Questions?\n\nPlease file an issue on GitHub.\n\n# Authors\n\nSee [`Cargo.toml`](Cargo.toml).\n\n# Contributing\n\nSee [`CONTRIBUTING.md`](CONTRIBUTING.md) and [`NOTES.md`](NOTES.md)\n\n# License\n\nThis project is licensed under the Apache 2.0 license.\n\n# Disclaimer\n\nThis is not an official Google product.\n\n# TODO\n - [ ] Pretty-print quadtree function which plots a density map\n - [ ] Benchmark tests\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fambuc%2Fquadtree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fambuc%2Fquadtree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fambuc%2Fquadtree/lists"}