Skip to content

Commit

Permalink
Polygonial pillars interface change.
Browse files Browse the repository at this point in the history
  • Loading branch information
vidanovic committed Jun 12, 2024
1 parent 1f1336d commit 2460649
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions src/wincalcbindings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1796,9 +1796,21 @@ PYBIND11_MODULE(wincalcbindings, m) {
py::arg("pillar"), py::arg("pressure"))
.def_static(
"create_pillar",
py::overload_cast<Tarcog::ISO15099::PolygonalPillar const &, double>(
py::overload_cast<Tarcog::ISO15099::TriangularPillar const &, double>(
&Tarcog::ISO15099::Layers::createPillar),
"Static function to add a polygonal pillar to a Tarcog gap",
"Static function to add a triangular pillar to a Tarcog gap",
py::arg("pillar"), py::arg("pressure"))
.def_static(
"create_pillar",
py::overload_cast<Tarcog::ISO15099::PentagonPillar const &, double>(
&Tarcog::ISO15099::Layers::createPillar),
"Static function to add a pentagon pillar to a Tarcog gap",
py::arg("pillar"), py::arg("pressure"))
.def_static(
"create_pillar",
py::overload_cast<Tarcog::ISO15099::HexagonPillar const &, double>(
&Tarcog::ISO15099::Layers::createPillar),
"Static function to add a hexagon pillar to a Tarcog gap",
py::arg("pillar"), py::arg("pressure"))
.def_static(
"create_pillar",
Expand Down

0 comments on commit 2460649

Please sign in to comment.