🍺 BREW Explorer

← all formulae

sfcgal

brew install sfcgal v2.3.0 LGPL-2.0-or-later

C++ wrapper library around CGAL for 3D computational geometry operations, used by PostGIS.

Why you might care

SFCGAL is primarily a build/runtime dependency for PostGIS to add 3D geometry support (volumes, solid models, Delaunay triangulation). You don't typically use it directly; install it if PostGIS needs it or if you're building C++ geospatial applications that require 3D operations. It wraps CGAL's complexity into a PostGIS-friendly API.

Categories

Alternatives

CGAL Boost.Geometry
4.9k
30-day installs · #614
12.6k
90-day · #715
42.5k
365-day · #748

Runtime dependencies

Build dependencies

Links

Blurb generated by claude-haiku-4-5 on 2mo ago.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "CGAL",
    "Boost.Geometry"
  ],
  "build_dependencies": [
    "cmake",
    "eigen",
    "nlohmann-json"
  ],
  "categories": [
    "library",
    "geospatial"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "boost",
    "cgal",
    "gmp",
    "mpfr"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "C++ wrapper library around CGAL",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:40:59+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "sfcgal",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://sfcgal.gitlab.io/SFCGAL/",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": "SFCGAL",
  "installs_30d": 4882,
  "installs_365d": 42470,
  "installs_90d": 12620,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "LGPL-2.0-or-later",
  "llm_generated_at": "2026-06-20T23:45:56+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "sfcgal",
  "oldnames": [],
  "one_liner": "C++ wrapper library around CGAL for 3D computational geometry operations, used by PostGIS.",
  "optional_dependencies": [],
  "rank_30d": 614,
  "rank_365d": 748,
  "rank_90d": 715,
  "raw_hash": "59e72c6d2dea2b74",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/s/sfcgal.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": null,
  "version_stable": "2.3.0",
  "versioned_formulae": [],
  "why_use_this": "SFCGAL is primarily a build/runtime dependency for PostGIS to add 3D geometry support (volumes, solid models, Delaunay triangulation). You don\u0027t typically use it directly; install it if PostGIS needs it or if you\u0027re building C++ geospatial applications that require 3D operations. It wraps CGAL\u0027s complexity into a PostGIS-friendly API."
}