Quickstart
EBGeometry is header-only: there is nothing to separately compile or link.
The single entry-point header is EBGeometry.hpp, located at the repository root.
Including it pulls in the entire library:
#include "EBGeometry.hpp"
Because the library is header-only, the fastest way to try it is to compile one of the bundled examples directly:
cd Examples/Shapes
g++ -O3 -std=c++17 -I../.. main.cpp && ./a.out
This constructs every built-in analytic shape and prints its signed distance at a few points, its bounding box and its distance quality (see Shapes, the first of the examples in Overview’s reading order). It needs no mesh files, so it runs without the submodule described below.
Every folder under Examples/<something> is a pure EBGeometry example: it
has no third-party dependencies and can be compiled with the one-liner above (see
Overview). Folders under Integrations/<Platform>/<something> couple
EBGeometry to a third-party application code and additionally require that
platform to be installed – see Integrations.
See Obtaining EBGeometry for how to clone the repository (including the submodule needed to run the bundled examples with their default mesh), and Building for how to point your own build system at EBGeometry.