Registry / utility / cgal
library6.1.1vcpkgunverified

The Computational Geometry Algorithms Library (CGAL) is a C++ library that aims to provide easy access to efficient and reliable algorithms in computational geometry.

vcpkg install cgal
INSTALL
IMPORT
SIG · CGAL
C
cgal
utilitycppv6.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CGAL/Exact_predicates_inexact_constructions_kernel.h
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>

Create a 2D point using CGAL's exact predicates kernel

#include <CGAL/Exact_predicates_inexact_constructions_kernel.h> #include <iostream> typedef CGAL::Exact_predicates_inexact_constructions_kernel K; typedef K::Point_2 Point; int main() { Point p(1.0, 2.0); std::cout << "Point: " << p << std::endl; return 0; }
Debug
Known issues
gotchaCGAL requires GMP and MPFR libraries; may need additional dependencies
fix
Ensure vcpkg installs gmp and mpfr, or use CGAL's header-only mode
affects: all
Upgrade
Version history
6.1.1latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources

No resource links recorded.

cgal — pip install cgal · libregistry