File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,6 +45,9 @@ void pybind_geometry_classes_declarations(py::module &m) {
4545 std::shared_ptr<Geometry2D>, Geometry>
4646 geometry2d (m, " Geometry2D" ,
4747 " The base geometry class for 2D geometries." );
48+
49+ m.attr (" m" ) = py::module_::import (" typing" ).attr (" TypeVar" )(" m" );
50+ m.attr (" n" ) = py::module_::import (" typing" ).attr (" TypeVar" )(" n" );
4851}
4952void pybind_geometry_classes_definitions (py::module &m) {
5053 // open3d.geometry functions
Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ void pybind_feature_declarations(py::module &m_registration) {
1919 py::class_<Feature, std::shared_ptr<Feature>> feature (
2020 m_registration, " Feature" ,
2121 " Class to store featrues for registration." );
22+ m_registration.attr (" m" ) = py::module_::import (" typing" ).attr (" TypeVar" )(" m" );
23+ m_registration.attr (" n" ) = py::module_::import (" typing" ).attr (" TypeVar" )(" n" );
2224}
2325void pybind_feature_definitions (py::module &m_registration) {
2426 // open3d.registration.Feature
You can’t perform that action at this time.
0 commit comments