🍺 BREW Explorer

← all formulae

cgal

brew install cgal v6.2 GPL-3.0-or-later

C++ library for computational geometry algorithms, meshes, and spatial data structures.

Why you might care

CGAL provides robust, peer-reviewed implementations of geometric primitives and algorithms—triangulation, convex hulls, arrangements, Voronoi diagrams—that are tedious and error-prone to implement from scratch. It's the standard dependency for scientific computing, CAD, GIS, and mesh-processing applications that need reliable geometry at scale.

Categories

Alternatives

Boost.Geometry OpenVDB GDAL
6.6k
30-day installs · #481
16.7k
90-day · #605
53.0k
365-day · #655

Runtime dependencies

Build dependencies

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "Boost.Geometry",
    "OpenVDB",
    "GDAL"
  ],
  "build_dependencies": [
    "cmake"
  ],
  "categories": [
    "library",
    "scientific",
    "math"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "boost",
    "eigen",
    "gmp",
    "mpfr"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Computational Geometry Algorithms Library",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:36:17+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "cgal",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://www.cgal.org/",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": "The Computational Geometry Algorithms Library",
  "installs_30d": 6586,
  "installs_365d": 53006,
  "installs_90d": 16694,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "GPL-3.0-or-later",
  "llm_generated_at": "2026-06-20T23:45:08+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "cgal",
  "oldnames": [],
  "one_liner": "C++ library for computational geometry algorithms, meshes, and spatial data structures.",
  "optional_dependencies": [],
  "rank_30d": 481,
  "rank_365d": 655,
  "rank_90d": 605,
  "raw_hash": "1a2b5eac3df0f45e",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/c/cgal.rb",
  "tap": "homebrew/core",
  "test_dependencies": [
    "cmake",
    "qtbase"
  ],
  "uses_from_macos": [],
  "version_head": null,
  "version_stable": "6.2",
  "versioned_formulae": [],
  "why_use_this": "CGAL provides robust, peer-reviewed implementations of geometric primitives and algorithms\u2014triangulation, convex hulls, arrangements, Voronoi diagrams\u2014that are tedious and error-prone to implement from scratch. It\u0027s the standard dependency for scientific computing, CAD, GIS, and mesh-processing applications that need reliable geometry at scale."
}