Advertisement

Line Segment Length

Started by December 10, 2002 10:01 AM
0 comments, last by jonbell 22 years, 2 months ago
Given 2 3D points p1(x,y,z) & p2(x,y,z) how do i determine the length of a line that connects them?
sqrt( (x2-x1)^2 + (y2-y1)^2 + (z2-z1)^2 )

This topic is closed to new replies.

Advertisement