File tree Expand file tree Collapse file tree 2 files changed +21
-2
lines changed
bindings/python/src/inspector Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 2525
2626#include < geode/inspector/criterion/manifold/brep_meshes_manifold.hpp>
2727
28+ #include " ../../information.hpp"
29+
2830namespace geode
2931{
3032 void define_brep_meshes_manifold ( pybind11::module & module )
@@ -35,6 +37,9 @@ namespace geode
3537 .def_readwrite (
3638 " component_ids" , &BRepNonManifoldEdge::component_ids );
3739
40+ do_define_information< BRepNonManifoldEdge >(
41+ module , " BRepNonManifoldEdge" );
42+
3843 pybind11::class_< BRepMeshesManifoldInspectionResult >(
3944 module , " BRepMeshesManifoldInspectionResult" )
4045 .def ( pybind11::init<>() )
Original file line number Diff line number Diff line change 2020 * SOFTWARE.
2121 *
2222 */
23+
24+ #include < pybind11/pybind11.h>
25+ #include < pybind11/stl.h>
26+
2327#include < string>
2428
2529#include < geode/inspector/information.hpp>
2630
31+ namespace pybind11
32+ {
33+ namespace detail
34+ {
35+ template < typename Type, size_t dimension >
36+ struct type_caster < absl::InlinedVector< Type, dimension > >
37+ : list_caster< absl::InlinedVector< Type, dimension >, Type >
38+ {
39+ };
40+ } // namespace detail
41+ } // namespace pybind11
42+
2743namespace geode
2844{
2945 template < typename ProblemType >
@@ -62,8 +78,6 @@ namespace geode
6278 do_define_information< std::pair< index_t , index_t > >(
6379 module , " PairIndex" );
6480 do_define_information< uuid >( module , " UUID" );
65- do_define_information< BRepNonManifoldEdge >(
66- module , " BRepNonManifoldEdge" );
6781 do_define_information< std::pair< geode::ComponentMeshElement,
6882 geode::ComponentMeshElement > >(
6983 module , " PairComponentMeshElement" );
You can’t perform that action at this time.
0 commit comments