简体   繁体   English

给定3D点处的3D曲线的切线

[英]Tangent line to a 3D curve at a given 3D point

I'm trying to compute tangent line (or tangent vector) at 3D point of a 3D curve. 我正在尝试计算3D曲线的3D点处的切线(或切向量)。 The problem is how to compute the slope according to x,y and z at point ? 问题是如何根据点处的x,y和z计算斜率? I recall that for a 2D curve, the equation of the tangent line is: 我记得对于2D曲线,切线的方程为:

tang=(x-x_k)*slope_k+y_k

The slope in 3D can be written as simple different between two 3D points. 3D中的斜率可以写为两个3D点之间的简单差异。 Here is why: https://math.stackexchange.com/questions/799783/slope-of-a-line-in-3d-coordinate-system 这就是原因: https : //math.stackexchange.com/questions/799783/slope-of-a-line-in-3d-coordinate-system

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM