MCPcopy Create free account
hub / github.com/InternRobotics/EmbodiedScan / flip

Method flip

embodiedscan/structures/points/base_points.py:206–213  ·  view source on GitHub ↗

Flip the points along given BEV direction. Args: bev_direction (str): Flip direction (horizontal or vertical). Defaults to 'horizontal'.

(self, bev_direction: str = 'horizontal')

Source from the content-addressed store, hash-verified

204
205 @abstractmethod
206 def flip(self, bev_direction: str = 'horizontal') -> None:
207 """Flip the points along given BEV direction.
208
209 Args:
210 bev_direction (str): Flip direction (horizontal or vertical).
211 Defaults to 'horizontal'.
212 """
213 pass
214
215 def translate(self, trans_vector: Union[Tensor, np.ndarray]) -> None:
216 """Translate points with the given translation vector.

Callers 2

bbox3d_mapping_backFunction · 0.45
random_flip_data_3dMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected