geometry - Maple Help

Home : Support : Online Help : Mathematics : Geometry : 2-D Euclidean : Point Functions : geometry/coordinates

geometry

 coordinates
 compute the coordinates of a given point

 Calling Sequence coordinates(P)

Parameters

 P - point

Description

 • The routine returns the coordinates of the given point P
 • The output will be represented as a list of two elements where the first element is the horizontal coordinate of P, and the second element the vertical coordinate of P.
 • The command with(geometry,coordinates) allows the use of the abbreviated form of this command.

Examples

 > $\mathrm{with}\left(\mathrm{geometry}\right):$
 > $\mathrm{point}\left(A,2,8\right),\mathrm{point}\left(M,u,v\right)$
 ${A}{,}{M}$ (1)
 > $\mathrm{coordinates}\left(A\right)$
 $\left[{2}{,}{8}\right]$ (2)
 > $\mathrm{coordinates}\left(M\right)$
 $\left[{u}{,}{v}\right]$ (3)