toydesigner-cgal/tdcgal/cgal.cpp

15 lines
306 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");
init_plane(plane);
}