Distance between Two Lines in 3-D - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Tasks : Geometry : Distance in 3-D : Task/Distance3DFromLineToLine

Distance between Two Lines in 3-D

Description

Measure the distance between two lines in three-dimensional space.

Define the first line by specifying two different points on the line.

Specify a point on the line.

geom3dpointa,2,4,0

a

(1)

Specify another point on the line.

geom3dpointb,0,2,1

b

(2)

Define the first line using the two points.

geom3dlinem,a,b

m

(3)

Define the second line by specifying a point and a vector.

Specify a point on the line.

geom3dpointp,1,0,3

p

(4)

Enter a vector as a list.

1,1,2

1,1,2

(5)

Define the second line using the point and the vector.

geom3dlinen,p,

n

(6)

Measure the distance between the two lines.

geom3ddistancem,n

322

(7)

Commands Used

geom3d[distance], geom3d[point], geom3d[line]

See Also

geom3d


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam