geom3d
midpoint
find the midpoint of segment joining two points
Calling Sequence
Parameters
Description
Examples
midpoint(C, A, B)
midpoint(C, seg)
C
-
the name of the midpoint
A, B
two points
seg
segment
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.
withgeom3d:
pointA,a,b,c,pointB,d,e,f:
midpointC,A,B
coordinatesC
a2+d2,b2+e2,c2+f2
See Also
geom3d[OnSegment]
geom3d[point]
Download Help Document