See `help(Line.angle_between)`, especially `smallest_angle_between` -- does that help?
/c On Friday, August 20, 2021 at 7:01:37 AM UTC-5 [email protected] wrote: > > Hi. > > I have a line: > > p1, p2 = Point3D(x, y, z), Point3D(x, y, z) > l1 = Line3D(p1, p2) > > Then I can get the line's orientation relative to a global frame: > > l1.direction > > Imagine now I rotate the global frame, is there a way to get the direction > relative to a rotated frame? > > Thanks in advance.... > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/7d173212-63ca-43b2-b785-cc9f4885cdaan%40googlegroups.com.
