From 5b4113c8bfc9a7ccc6ec8944e7886eb68668ba5c Mon Sep 17 00:00:00 2001 From: Kwabena N Amponsah Date: Wed, 20 Mar 2024 16:09:41 +0000 Subject: [PATCH] #20 update linted shapes output --- .../shapes/wrapper/geometry/Point2.cppwg.cpp | 20 +++++++++---------- .../shapes/wrapper/geometry/Point3.cppwg.cpp | 20 +++++++++---------- .../wrapper/primitives/Shape2.cppwg.cpp | 16 +++++++-------- .../wrapper/primitives/Shape3.cppwg.cpp | 16 +++++++-------- 4 files changed, 36 insertions(+), 36 deletions(-) diff --git a/examples/shapes/wrapper/geometry/Point2.cppwg.cpp b/examples/shapes/wrapper/geometry/Point2.cppwg.cpp index e4e36df..cf20feb 100644 --- a/examples/shapes/wrapper/geometry/Point2.cppwg.cpp +++ b/examples/shapes/wrapper/geometry/Point2.cppwg.cpp @@ -13,24 +13,24 @@ py::class_ >(m, "Point2") .def(py::init< >()) .def(py::init(), py::arg("x"), py::arg("y"), py::arg("z") = 0.) .def( - "GetLocation", - (::std::array(Point2::*)() const ) &Point2::GetLocation, + "GetLocation", + (::std::array(Point2::*)() const ) &Point2::GetLocation, " " ) .def( - "rGetLocation", - (::std::array const &(Point2::*)() const ) &Point2::rGetLocation, + "rGetLocation", + (::std::array const &(Point2::*)() const ) &Point2::rGetLocation, " " ) .def( - "GetIndex", - (unsigned int(Point2::*)() const ) &Point2::GetIndex, + "GetIndex", + (unsigned int(Point2::*)() const ) &Point2::GetIndex, " " ) .def( - "SetIndex", - (void(Point2::*)(unsigned int)) &Point2::SetIndex, + "SetIndex", + (void(Point2::*)(unsigned int)) &Point2::SetIndex, " " , py::arg("index") ) .def( - "SetLocation", - (void(Point2::*)(::std::array const &)) &Point2::SetLocation, + "SetLocation", + (void(Point2::*)(::std::array const &)) &Point2::SetLocation, " " , py::arg("rLocation") ) ; } diff --git a/examples/shapes/wrapper/geometry/Point3.cppwg.cpp b/examples/shapes/wrapper/geometry/Point3.cppwg.cpp index 4979f85..af5fd03 100644 --- a/examples/shapes/wrapper/geometry/Point3.cppwg.cpp +++ b/examples/shapes/wrapper/geometry/Point3.cppwg.cpp @@ -13,24 +13,24 @@ py::class_ >(m, "Point3") .def(py::init< >()) .def(py::init(), py::arg("x"), py::arg("y"), py::arg("z") = 0.) .def( - "GetLocation", - (::std::array(Point3::*)() const ) &Point3::GetLocation, + "GetLocation", + (::std::array(Point3::*)() const ) &Point3::GetLocation, " " ) .def( - "rGetLocation", - (::std::array const &(Point3::*)() const ) &Point3::rGetLocation, + "rGetLocation", + (::std::array const &(Point3::*)() const ) &Point3::rGetLocation, " " ) .def( - "GetIndex", - (unsigned int(Point3::*)() const ) &Point3::GetIndex, + "GetIndex", + (unsigned int(Point3::*)() const ) &Point3::GetIndex, " " ) .def( - "SetIndex", - (void(Point3::*)(unsigned int)) &Point3::SetIndex, + "SetIndex", + (void(Point3::*)(unsigned int)) &Point3::SetIndex, " " , py::arg("index") ) .def( - "SetLocation", - (void(Point3::*)(::std::array const &)) &Point3::SetLocation, + "SetLocation", + (void(Point3::*)(::std::array const &)) &Point3::SetLocation, " " , py::arg("rLocation") ) ; } diff --git a/examples/shapes/wrapper/primitives/Shape2.cppwg.cpp b/examples/shapes/wrapper/primitives/Shape2.cppwg.cpp index 5729ab0..76d5474 100644 --- a/examples/shapes/wrapper/primitives/Shape2.cppwg.cpp +++ b/examples/shapes/wrapper/primitives/Shape2.cppwg.cpp @@ -12,20 +12,20 @@ void register_Shape2_class(py::module &m){ py::class_ >(m, "Shape2") .def(py::init< >()) .def( - "GetIndex", - (unsigned int(Shape2::*)() const ) &Shape2::GetIndex, + "GetIndex", + (unsigned int(Shape2::*)() const ) &Shape2::GetIndex, " " ) .def( - "rGetVertices", - (::std::vector>> const &(Shape2::*)() const ) &Shape2::rGetVertices, + "rGetVertices", + (::std::vector>> const &(Shape2::*)() const ) &Shape2::rGetVertices, " " ) .def( - "SetIndex", - (void(Shape2::*)(unsigned int)) &Shape2::SetIndex, + "SetIndex", + (void(Shape2::*)(unsigned int)) &Shape2::SetIndex, " " , py::arg("index") ) .def( - "SetVertices", - (void(Shape2::*)(::std::vector>> const &)) &Shape2::SetVertices, + "SetVertices", + (void(Shape2::*)(::std::vector>> const &)) &Shape2::SetVertices, " " , py::arg("rVertices") ) ; } diff --git a/examples/shapes/wrapper/primitives/Shape3.cppwg.cpp b/examples/shapes/wrapper/primitives/Shape3.cppwg.cpp index 514540f..b3e81cf 100644 --- a/examples/shapes/wrapper/primitives/Shape3.cppwg.cpp +++ b/examples/shapes/wrapper/primitives/Shape3.cppwg.cpp @@ -12,20 +12,20 @@ void register_Shape3_class(py::module &m){ py::class_ >(m, "Shape3") .def(py::init< >()) .def( - "GetIndex", - (unsigned int(Shape3::*)() const ) &Shape3::GetIndex, + "GetIndex", + (unsigned int(Shape3::*)() const ) &Shape3::GetIndex, " " ) .def( - "rGetVertices", - (::std::vector>> const &(Shape3::*)() const ) &Shape3::rGetVertices, + "rGetVertices", + (::std::vector>> const &(Shape3::*)() const ) &Shape3::rGetVertices, " " ) .def( - "SetIndex", - (void(Shape3::*)(unsigned int)) &Shape3::SetIndex, + "SetIndex", + (void(Shape3::*)(unsigned int)) &Shape3::SetIndex, " " , py::arg("index") ) .def( - "SetVertices", - (void(Shape3::*)(::std::vector>> const &)) &Shape3::SetVertices, + "SetVertices", + (void(Shape3::*)(::std::vector>> const &)) &Shape3::SetVertices, " " , py::arg("rVertices") ) ; }