geometry
form
return the form of the geometric object
Calling Sequence
Parameters
Description
Examples
form(obj)
obj
-
geometric object
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.
with⁡geometry:
point⁡A,0,0,point⁡B,1,1:
form⁡A
point2d
line⁡l,A,B
l
form⁡l
line2d
See Also
geometry[objects]
Download Help Document