Get center Point3Ds
(self)
| 2238 | return self.get_critical_point(direction) |
| 2239 | |
| 2240 | def get_center(self) -> Point3D: |
| 2241 | """Get center Point3Ds""" |
| 2242 | return self.get_critical_point(np.zeros(self.dim)) |
| 2243 | |
| 2244 | def get_center_of_mass(self) -> Point3D: |
| 2245 | return np.apply_along_axis(np.mean, 0, self.get_all_points()) |