Concatenate two model_geometry objects Args: other (model_geometry): Other set of interpreted geometries Returns: _type_: model_geometry
(self, other)
| 81 | float_facet_centroids: list = field(default_factory=list) |
| 82 | |
| 83 | def __add__(self, other): |
| 84 | """Concatenate two model_geometry objects |
| 85 | |
| 86 | Args: |
| 87 | other (model_geometry): Other set of interpreted geometries |
| 88 | |
| 89 | Returns: |
| 90 | _type_: model_geometry |
| 91 | """ |
| 92 | return model_geometry( |
| 93 | self.epeck_equation_idxs + other.epeck_equation_idxs, |
| 94 | self.convex_halfspace_trees + other.convex_halfspace_trees, |
| 95 | self.non_convex_halfspace_facets_equations + other.non_convex_halfspace_facets_equations, |
| 96 | self.float_facet_normals + other.float_facet_normals, |
| 97 | self.float_facet_centroids + other.float_facet_centroids, |
| 98 | ) |
| 99 | |
| 100 | class context: |
| 101 |
nothing calls this directly
no test coverage detected