toydesigner-cgal/tdcgal/cgal.cpp

17 lines
379 B
C++

#include <pybind11/pybind11.h>
#include <pybind11/operators.h>
#include <CGAL/Simple_cartesian.h>
# include "cgal.hpp"
namespace py = pybind11;
typedef CGAL::Simple_cartesian<double> Kernel;
PYBIND11_MODULE(cgal_bindings, m) {
py::module_ plane = m.def_submodule("plane");
py::module_ enums = m.def_submodule("enums");
init_plane(plane);
init_enums(enums);
}