computeLocalFrame

computeLocalFrame(*args, **kwargs)

Overloaded function.

  1. computeLocalFrame(p: Imath.V3f, xDir: Imath.V3f, normal: Imath.V3f) -> Imath.M44f

Compute an orthonormal direct 4x4 frame from a position, an x axis direction and a normal to the y axis. If the x axis and normal are perpendicular, then the normal will have the same direction as the z axis.

  1. computeLocalFrame(p: Imath.V3d, xDir: Imath.V3d, normal: Imath.V3d) -> Imath.M44d

Compute an orthonormal direct 4x4 frame from a position, an x axis direction and a normal to the y axis. If the x axis and normal are perpendicular, then the normal will have the same direction as the z axis.