@@ -24,7 +24,6 @@ void exposeHyperplane(nb::module_ m, const char *name) {
2424 using VectorType = Eigen::Matrix<Scalar, Eigen::Dynamic, 1 >;
2525 using MatrixType = Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic, 1 >;
2626 using Parameterized = Eigen::ParametrizedLine<Scalar, Eigen::Dynamic>;
27- using Transform = Eigen::Transform<Scalar, Eigen::Dynamic, Eigen::Affine>;
2827
2928 if (check_registration_alias<Hyperplane>(m)) {
3029 return ;
@@ -172,45 +171,6 @@ void exposeHyperplane(nb::module_ m, const char *name) {
172171 },
173172 " other" _a, " Returns the intersection of *this with \a other." )
174173
175- // TODO: Pass the tests
176- // .def(
177- // "transform",
178- // [](Hyperplane &h, const MatrixType &mat) -> Hyperplane & {
179- // return h.transform(mat);
180- // }, "mat"_a,
181- // "Applies the transformation matrix \a mat to *this and returns a
182- // reference to *this.", nb::rv_policy::reference)
183- // .def(
184- // "transform",
185- // [](Hyperplane &h, const MatrixType &mat, Eigen::TransformTraits
186- // traits) -> Hyperplane & {
187- // return h.transform(mat, traits);
188- // }, "mat"_a, "traits"_a,
189- // "Applies the transformation matrix \a mat to *this and returns a
190- // reference to *this." "traits specifies whether the matrix \a mat
191- // represents an #Isometry" "or a more generic #Affine
192- // transformation. The default is #Affine.",
193- // nb::rv_policy::reference)
194- // TODO: Fix errors from Transform (maybe due to size management, of
195- // other)
196- // .def(
197- // "transform",
198- // [](Hyperplane &h, const Transform &t) -> Hyperplane & {
199- // return h.transform(t);
200- // }, "t"_a,
201- // "Applies the transformation \a t to *this and returns a reference
202- // to *this", nb::rv_policy::reference)
203- // .def(
204- // "transform",
205- // [](Hyperplane &h, const Transform &t, Eigen::TransformTraits
206- // traits) -> Hyperplane & {
207- // return h.transform(t, traits);
208- // }, "t"_a, "traits"_a,
209- // "Applies the transformation \a t to *this and returns a reference
210- // to *this" "traits specifies whether the matrix \a mat represents
211- // an #Isometry" "or a more generic #Affine transformation. The
212- // default is #Affine.", nb::rv_policy::reference)
213-
214174 .def (
215175 " isApprox" ,
216176 [](const Hyperplane &aa, const Hyperplane &other,
0 commit comments