#include <brep.h>
LIBBREP(3)
NAME
libbrep - boundary representation (NURBS) library for BRL-CAD
On this page
SYNOPSIS
Link with -lbrep.
The public interface is organized across the headers included by brep.h, including brep/defines.h, brep/util.h, brep/ray.h, brep/curvetree.h, brep/surfacetree.h, brep/edit.h, brep/pullback.h, brep/quality.h, brep/intersect.h, brep/boolean.h, brep/cdt.h, and brep/csg.h.
DESCRIPTION
LIBBREP provides BRL-CAD’s boundary representation (B-rep) support, defining surface and curve structures for Non-Uniform Rational B-Spline (NURBS) curves and surfaces. The library builds upon the openNURBS library for its underlying geometric representation.
Facilities provided by the library include acceleration structures for curves and surfaces (curve trees, surface trees, and bounding-box nodes), ray/B-rep intersection, curve/surface intersection, pullback of three-dimensional points into surface parameter space, boolean evaluation of B-rep solids, constrained Delaunay triangulation (CDT) for tessellation, B-rep quality assessment, editing operations, and conversion between B-rep and constructive solid geometry (CSG) representations.
The complete API, including data structures and function signatures, is documented in the headers noted above and in the Doxygen-generated reference for the LIBBREP module.
SEE ALSO
brlcad(1), librt(3), libnmg(3), libbn(3), libbu(3)
The BRL-CAD Doxygen API reference provides the authoritative, up-to-date description of all public LIBBREP routines.
AUTHOR
BRL-CAD Team
COPYRIGHT
This software is Copyright (c) 2007-2026 United States Government as represented by the U.S. Army Research Laboratory.
BUG REPORTS
Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org