hylo.manip.geometry¶ Package: hylo-manip · Core contracts geometry ¶ Small rigid-body helpers shared by the toolkit modules. pose ¶ pose(R: ndarray | None = None, p=None) -> np.ndarray inv ¶ inv(T: ndarray) -> np.ndarray apply ¶ apply(T: ndarray, points: ndarray) -> np.ndarray rotz ¶ rotz(yaw: float) -> np.ndarray rotvec ¶ rotvec(R: ndarray) -> np.ndarray Axis * angle of a rotation matrix. angle ¶ angle(R: ndarray) -> float yaw_of ¶ yaw_of(R: ndarray) -> float Heading of the x axis projected on the xy plane (falls back to the y axis when x is vertical). frame ¶ frame(x: ndarray, y: ndarray) -> np.ndarray Rotation with x along x and y along the part of y orthogonal to it. voxel_down ¶ voxel_down(points: ndarray, voxel: float) -> np.ndarray Mean of the points in each voxel of size voxel (voxels in order of their integer coordinates).