Clone the points. Returns: :obj:`BasePoints`: Point object with the same properties as self.
(self)
| 464 | attribute_dims=self.attribute_dims) |
| 465 | |
| 466 | def clone(self) -> 'BasePoints': |
| 467 | """Clone the points. |
| 468 | |
| 469 | Returns: |
| 470 | :obj:`BasePoints`: Point object with the same properties as self. |
| 471 | """ |
| 472 | original_type = type(self) |
| 473 | return original_type(self.tensor.clone(), |
| 474 | points_dim=self.points_dim, |
| 475 | attribute_dims=self.attribute_dims) |
| 476 | |
| 477 | def detach(self) -> 'BasePoints': |
| 478 | """Detach the points. |
no outgoing calls
no test coverage detected