find the point which divides the segment joining two given points by some ratio - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Geometry : 2-D Euclidean : Line Segments : geometry/OnSegment

geometry[OnSegment] - find the point which divides the segment joining two given points by some ratio

Calling Sequence

OnSegment(C, A, B, k)

OnSegment(C, seg, k)

Parameters

C

-

the name of the point to be created

A, B

-

two points

seg

-

segment

k

-

ratio

Description

• 

The routine returns point C which is the point lying on the segment defined by two points A, B with ratio k

• 

For a detailed description of point C, use the routine detail (i.e., detail(C))

• 

The command with(geometry,OnSegment) allows the use of the abbreviated form of this command.

Examples

withgeometry:

pointA,0,0,pointB,2,0

A,B

(1)

OnSegmentC1,A,B,1

C1

(2)

coordinatesC1

1,0

(3)

OnSegmentC2,A,B,12

C2

(4)

coordinatesC2

23,0

(5)

See Also

geometry[CrossRatio], geometry[point], geometry[segment]


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