45 return std::make_shared<Interface>(indx, edge, skipCoordCheck);
51 return std::make_shared<InterfacePair>(leftInterface, rightInterface);
56 py::bind_vector<std::vector<unsigned int>>(m,
"UIntList");
58 py::class_<Interface, std::shared_ptr<Interface>>(m,
"Interface")
60 .def<
const std::map<int, GeometrySharedPtr> &(
Interface::*)()
const>(
61 "GetEdge", &Interface::GetEdge,
62 py::return_value_policy::reference_internal)
63 .def(
"IsEmpty", &Interface::IsEmpty)
65 .def(
"GetOppInterace", &Interface::GetOppInterface,
66 py::return_value_policy::reference_internal)
67 .def(
"GetCompositeIDs", &Interface::GetCompositeIDs,
70 py::class_<InterfacePair, std::shared_ptr<InterfacePair>>(m,
73 .def(
"GetLeftInterface", &InterfacePair::GetLeftInterface,
75 .def(
"GetRightInterface", &InterfacePair::GetRightInterface,
std::shared_ptr< InterfacePair > InterfacePair_Init(const InterfaceShPtr &leftInterface, const InterfaceShPtr &rightInterface)
std::shared_ptr< Interface > Interface_Init(int indx, const CompositeMap &edge, bool skipCoordCheck)
void export_Interfaces(py::module &m)
std::shared_ptr< Interface > InterfaceShPtr
std::map< int, CompositeSharedPtr > CompositeMap
A interface which is a single edge on a zone for handling non-conformality.