midpoint - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


geom3d

  

midpoint

  

find the midpoint of segment joining two points

 

Calling Sequence

Parameters

Description

Examples

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(geom3d,midpoint) allows the use of the abbreviated form of this command.

Examples

withgeom3d:

pointA,a,b,c,pointB,d,e,f:

midpointC,A,B

C

(1)

coordinatesC

a2+d2,b2+e2,c2+f2

(2)

See Also

geom3d[OnSegment]

geom3d[point]