MCPcopy Create free account
hub / github.com/OpenMeshLab/MeshXL / rotz

Function rotz

utils/pc_util.py:125–129  ·  view source on GitHub ↗

Rotation about the z-axis.

(t)

Source from the content-addressed store, hash-verified

123
124
125def rotz(t):
126 """Rotation about the z-axis."""
127 c = np.cos(t)
128 s = np.sin(t)
129 return np.array([[c, -s, 0], [s, c, 0], [0, 0, 1]])
130
131
132def point_cloud_to_bbox(points):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected