sfcgal
« Back to VersTracker
Description:
C++ wrapper library around CGAL
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: geometry cgal gis cad spatial
Install: brew install sfcgal
About:
SFCGAL is a C++ wrapper library that provides a high-level interface for 2D and 3D computational geometry operations. It leverages the robust algorithms from the Computational Geometry Algorithms Library (CGAL) to handle tasks like spatial predicates and geometric constructions. Its primary value is simplifying complex geometric calculations for developers in GIS and CAD applications.
Key Features:
  • C++ wrapper for CGAL algorithms
  • Supports 2D and 3D geometric primitives
  • Provides OGC-compliant spatial functions
  • Simplifies complex geometry constructions
Use Cases:
  • Geographic Information Systems (GIS) backend development
  • CAD/CAM software geometry processing
  • Spatial database extension development
  • 3D modeling and analysis tools
Alternatives:
  • CGAL – CGAL is the underlying library SFCGAL wraps; SFCGAL offers a simpler, OGC-focused API.
  • GEOS – GEOS is a C++ port of JTS focused on 2D planar geometry, whereas SFCGAL supports 3D and curved geometries.
Version History
Detected Version Rev Change Commit
Oct 10, 2025 3:47am 1 VERSION_BUMP 110de08c
Sep 17, 2025 10:31am 1 VERSION_BUMP 09d2a7f6
Dec 16, 2024 6:40am 1 VERSION_BUMP a54971fe