Distance between a Point and a Line in 2-D - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Tasks : Geometry : Distance in 2-D : Task/Distance2DFromPointToLine

Distance between a Point and a Line in 2-D

Description

Measure the distance between a point and a line in two-dimensional space.

Specify a point.

geometrypointp,1,2

p

(1)

Specify a line.

geometrylinel,3xy=−5,x,y

l

(2)

Measure the distance between the point and the line.

geometrydistancep,l

10

(3)

Commands Used

geometry[point], geometry[line], geometry[distance]

See Also

geometry


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