You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cv.check_type('reference v direction', vwu, Iterable, Real)
115
+
vwu=np.asarray(vwu)
116
+
uvw=self.reference_uvw
117
+
cv.check_greater_than('reference v direction must not be parallel to reference u direction', np.linalg.norm(np.cross(vwu,uvw)), 1e-6*np.linalg.norm(vwu))
118
+
vwu-=vwu.dot(uvw)*uvw
119
+
cv.check_less_than('reference v direction must be orthogonal to reference u direction', np.abs(vwu.dot(uvw)), 1e-6)
0 commit comments