get number of points (excluding point at inf) but including the invalid points.
(self)
| 99 | ) |
| 100 | |
| 101 | def get_num_points(self) -> int: |
| 102 | """ |
| 103 | get number of points (excluding point at inf) |
| 104 | but including the invalid points. |
| 105 | """ |
| 106 | if self.included_point_at_inf: |
| 107 | return self.xyz_w.size(1) - 1 |
| 108 | else: |
| 109 | return self.xyz_w.size(1) |
| 110 | |
| 111 | def get_num_valid_points(self, bidx: int) -> int: |
| 112 | """ |