(self)
| 136 | return self |
| 137 | |
| 138 | def clone(self) -> 'PointCloud': |
| 139 | data_dict = dict() |
| 140 | for attr_name in self.attr_names: |
| 141 | arr = getattr(self, attr_name, None) |
| 142 | if arr is not None: |
| 143 | data_dict[attr_name] = arr.clone() |
| 144 | else: |
| 145 | data_dict[attr_name] = None |
| 146 | data_dict['included_point_at_inf'] = self.included_point_at_inf |
| 147 | return PointCloud(**data_dict) |
| 148 | |
| 149 | def drop_features(self, drop_normal: bool = True): |
| 150 | """Drop features related to camera pose used to capture the point""" |
nothing calls this directly
no test coverage detected