dqrobotics / python

The DQ Robotics library in Python

Home Page:https://dqrobotics.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

line-to-line angle function [QUESTION]

juanjqo opened this issue · comments

Hi @mmmarinho,

There is no a function (to my best knowledge) to compute the angle between two lines in Python.
(Using, for instance, the Eq. 35 of Marinho et al. (2019))
This is:

line1 = k_ + E_*cross(0 , k_);
line2 = i_ + E_*cross(0 , i_);
angle = DQ_Geometry.line_to_line_angle(line1, line2)

angle =

1.570796326794897

Could you add this feature (if feasible)?

Cheers,

Juancho

Hello, @juanjqo

It's added. Let me know if it doesn't work well.