{"id":61193,"library":"sfcgal","title":"SFCGAL","description":"SFCGAL is a C++ wrapper library around CGAL that supports ISO 19107:2013 and OGC Simple Features for 3D operations.","status":"active","version":"2.2.0","language":"cpp","source_language":null,"source_url":null,"tags":["geometry","3d","gis","cgal"],"install":[{"cmd":"vcpkg install sfcgal","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(sfcgal CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE SFCGAL::SFCGAL)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"SFCGAL/Geometry.h","correct":"#include <SFCGAL/Geometry.h>"}],"quickstart":{"code":"#include <SFCGAL/Geometry.h>\n#include <SFCGAL/io/wkt.h>\n#include <iostream>\n\nint main() {\n    std::unique_ptr<SFCGAL::Geometry> geom(SFCGAL::io::readWkt(\"POINT(1 2 3)\"));\n    std::cout << geom->asText(3) << '\\n';\n    return 0;\n}","lang":"cpp","description":"Read a 3D point from WKT and print it."},"warnings":[{"fix":"Ensure CGAL and its dependencies are installed via vcpkg.","message":"SFCGAL depends on CGAL, which requires GMP and MPFR; these can be heavy dependencies.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'19107':13 '2013':14 '3d':20,23 'around':8 'c':5 'cgal':9,25 'featur':18 'geometri':22 'gis':24 'iso':12 'librari':7 'ogc':16 'oper':21 'sfcgal':1,2 'simpl':17 'support':11 'wrapper':6","created_at":"2026-06-17T04:41:19.956127+00:00","updated_at":"2026-06-17T04:41:19.956127+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":["other"],"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}}