Skip to content

Commit e69831f

Browse files
Merge pull request #1148 from Geode-solutions/fix/binding_python
Fix/binding_python
2 parents 7e7d86f + 62429aa commit e69831f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

bindings/python/src/geometry/basic_objects.cpp

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,15 @@
6767
.def( pybind11::init< const Point< dimension >&, \
6868
const Point< dimension >&, const Point< dimension >& >() ) \
6969
.def( "vertices", &Triangle##dimension##D::vertices ) \
70-
.def( "bounding_box", &Triangle##dimension##D::bounding_box )
70+
.def( "bounding_box", &Triangle##dimension##D::bounding_box ) \
71+
.def( "minimum_height", &Triangle##dimension##D::minimum_height ) \
72+
.def( "is_degenerated", &Triangle##dimension##D::is_degenerated ) \
73+
.def( "longest_edge_index", \
74+
&Triangle##dimension##D::longest_edge_index ) \
75+
.def( "smallest_edge_index", \
76+
&Triangle##dimension##D::smallest_edge_index ) \
77+
.def( "barycenter", &Triangle##dimension##D::barycenter ) \
78+
.def( "string", &Triangle##dimension##D::string )
7179

7280
#define PYTHON_SPHERE( dimension ) \
7381
const auto sphere##dimension = \

0 commit comments

Comments
 (0)