#pragma once

#include "../../../include/dv-processing/core/utils.hpp"

#include <pybind11/pybind11.h>

namespace py = pybind11;

/**
 * @brief Bindings for util functions.
 * @param m
 */
void bind_utils(py::module &m) {
	using pybind11::operator""_a;

	m.def("isWithinDimensions", &dv::isWithinDimensions<Eigen::Vector2d>, "point"_a, "resolution"_a,
		"Check whether given point is non-negative and within dimensions of given resolution.");
}
