{"id":60455,"library":"cgal","title":"CGAL","description":"The Computational Geometry Algorithms Library (CGAL) is a C++ library that aims to provide easy access to efficient and reliable algorithms in computational geometry.","status":"active","version":"6.1.1","language":"cpp","source_language":null,"source_url":null,"tags":["geometry","computational-geometry","algorithms"],"install":[{"cmd":"vcpkg install cgal","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(cgal CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE CGAL::CGAL)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"CGAL/Exact_predicates_inexact_constructions_kernel.h","correct":"#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>"}],"quickstart":{"code":"#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>\n#include <iostream>\n\ntypedef CGAL::Exact_predicates_inexact_constructions_kernel K;\ntypedef K::Point_2 Point;\n\nint main() {\n    Point p(1.0, 2.0);\n    std::cout << \"Point: \" << p << std::endl;\n    return 0;\n}","lang":"cpp","description":"Create a 2D point using CGAL's exact predicates kernel"},"warnings":[{"fix":"Ensure vcpkg installs gmp and mpfr, or use CGAL's header-only mode","message":"CGAL requires GMP and MPFR libraries; may need additional dependencies","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'access':17 'aim':13 'algorithm':5,22,30 'c':10 'cgal':1,7 'comput':3,24,28 'computational-geometri':27 'easi':16 'effici':19 'geometri':4,25,26,29 'librari':6,11 'provid':15 'reliabl':21","created_at":"2026-06-16T19:31:38.795627+00:00","updated_at":"2026-06-16T19:31:38.795627+00:00","problems":[],"ecosystem":"vcpkg","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}