1

I'm trying to compute tangent line (or tangent vector) at 3D point of a 3D curve. The problem is how to compute the slope according to x,y and z at point ? I recall that for a 2D curve, the equation of the tangent line is:

tang=(x-x_k)*slope_k+y_k
Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
javier
  • 21
  • 6

1 Answers1

0

The slope in 3D can be written as simple different between two 3D points. Here is why: https://math.stackexchange.com/questions/799783/slope-of-a-line-in-3d-coordinate-system

javier
  • 21
  • 6