qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.59k stars 3k forks source link

Add a method to get the tangent between a point and a curve in PYQGIS #45421

Open antoniolocandro opened 3 years ago

antoniolocandro commented 3 years ago

Feature description

As mentioned in this stackexchange post https://gis.stackexchange.com/questions/392878/how-to-construct-a-line-tangent-to-a-curve-from-a-point-using-pyqgis

Also don't recall it is possible in the GUI also

I have also wanted to have the ability to do this by just clicking on the point and be tangent to a circle or spiral

image

Additional context

No response

lbartoletti commented 3 years ago

@antoniolocandro FYI, I'm working on this feature.