geometry - Maple Programming Help

Home : Support : Online Help : Mathematics : Geometry : 2-D Euclidean : geometry/form

geometry

 form
 return the form of the geometric object

 Calling Sequence form(obj)

Parameters

 obj - geometric object

Description

 • The routine returns the form of the given object supported by the geometry package. It returns point2d, segment2d, dsegment2d, line2d, triangle2d, square2d, circle2d, ellipse2d, parabola2d, hyperbola2d, or FAIL if it is unable to recognize the object.
 • The command with(geometry,form) allows the use of the abbreviated form of this command.

Examples

 > $\mathrm{with}\left(\mathrm{geometry}\right):$
 > $\mathrm{point}\left(A,0,0\right),\mathrm{point}\left(B,1,1\right):$
 > $\mathrm{form}\left(A\right)$
 ${\mathrm{point2d}}$ (1)
 > $\mathrm{line}\left(l,\left[A,B\right]\right)$
 ${l}$ (2)
 > $\mathrm{form}\left(l\right)$
 ${\mathrm{line2d}}$ (3)