23 #include <pybind11/pybind11.h> 28 namespace py = pybind11;
33 namespace cameraGeom {
36 py::module mod(
"_cameraPoint",
"Python wrapper for afw _cameraPoint library");
39 py::class_<CameraPoint>
cls(mod,
"CameraPoint");
44 cls.def(py::init<geom::Point2D, CameraSys const &>(),
"point"_a,
"cameraSys"_a);
52 std::ostringstream os;
57 std::ostringstream os;
63 cls.def(
"getPoint", &CameraPoint::getPoint);
64 cls.def(
"getCameraSys", &CameraPoint::getCameraSys);
PYBIND11_PLUGIN(_cameraPoint)
A base class for image defects.
A Point2D with associated camera coordinate system.