14.12.5 The Cartesian equation of an object in space: equation
See Section 13.13.7 for Cartesian equations of two-dimensional
objects.
The equation command finds equations for geometric objects.
-
equation takes one argument:
G, a geometric object.
- equation(G) returns Cartesian equations
in x, y and z which
specify the object G.
The variables x, y and z must be
unassigned. If they have assignments, they can be unassigned with
purge(x,y,z).
Examples.
-
Input:
equation(line(point(0,1,0),point(1,2,3)))
Output:
- Input:
equation(sphere(point(0,1,0),2))
Output: