geom3d - Maple Programming Help

Home : Support : Online Help : Mathematics : Geometry : 3-D Euclidean : Point Functions : geom3d/xcoord

geom3d

 xcoord
 compute the x-coordinate of a given point
 ycoord
 compute the y-coordinate of a given point
 zcoord
 compute the z-coordinate of a given point

 Calling Sequence xcoord(P) ycoord(P) zcoord(P)

Parameters

 P - point

Description

 • The routine geom3d[xcoord] returns the x-coordinate of the given point P.
 • The routine geom3d[ycoord] returns the y-coordinate of the given point P.
 • The routine geom3d[zcoord] returns the z-coordinate of the given point P.
 • The command with(geom3d,xcoord) allows the use of the abbreviated form of this command.
 • Similarly for the routines geom3d[ycoord] and geom3d[zcoord].

Examples

 > $\mathrm{with}\left(\mathrm{geom3d}\right):$
 > $\mathrm{point}\left(A,2,8,1\right),\mathrm{point}\left(M,\left[u,v,w\right]\right)$
 ${A}{,}{M}$ (1)
 > $\mathrm{xcoord}\left(A\right)$
 ${2}$ (2)
 > $\mathrm{ycoord}\left(A\right)$
 ${8}$ (3)
 > $\mathrm{zcoord}\left(M\right)$
 ${w}$ (4)