I would like to get the angle between two segments, this must be applied to any angled situation.
I have already a function that gets the slope of two segments then the rest is a problem, i cant get the correct result
im using this formula.
the result must be the added angle of two segments.
sample 1st segment = 90 degree
second segment = 45 degree
result = 135 degree
There are some complex ways to do this but there is an undocumented command that you might be able to use:
_axlAngleBetweenLines(list(pt1, pt2), list(pt3, pt4))
In reply to eDave:
Is it safe to use undocumented axl?
In reply to eDaNoy:
There's no easy way of finding undocumented commands and there is no guarantee that they will always exist. USE WITH CARE.
However, when you do find one that is useful, put in an enhancement request to Cadence to get it made public.