勾股定理

pythagorean-theorem.png

计算一个点距离原点的距离,同样的在三维中也是一样的

distance = sqrt(x2 + y2 + z2)


首页 我的博客
粤ICP备17103704号