find the midpoint of segment joining two points - Maple Help

Online Help

All Products    Maple    MapleSim


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

geometry[midpoint] - find the midpoint of segment joining two points

Calling Sequence

midpoint(C, A, B)

midpoint(C, seg)

Parameters

C

-

the name of the midpoint

A, B

-

two points

seg

-

segment

Description

• 

The routine finds the midpoint of two points A, B, or of a segment seg.

• 

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

• 

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

Examples

withgeometry:

pointA,0,0,pointB,2,0:

midpointC1,A,B

C1

(1)

coordinatesC1

1,0

(2)

segmentseg,A,B:

midpointC2,seg:

detailC2

name of the objectC2form of the objectpoint2dcoordinates of the point1,0

(3)

See Also

geometry[OnSegment], geometry[point]


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