geom3d
xname
find the name of the x-axis used to define an object
yname
find the name of the y-axis used to define an object
zname
find the name of the z-axis used to define an object
Calling Sequence
Parameters
Description
Examples
xname(obj)
yname(obj)
zname(obj)
obj
-
a plane, a sphere
The routine xname returns the name of the x-axis used to define obj. It returns either a name or FAIL.
The routine yname returns the name of the y-axis used to define obj. It returns either a name or FAIL.
The routine zname returns the name of the z-axis used to define obj. It returns either a name or FAIL.
The command with(geom3d,xname) allows the use of the abbreviated form of this command.
with⁡geom3d:
Define the plane from three given points A, B, C
point⁡A,0,0,0,point⁡B,1,1,11,point⁡C,3,7,5:
plane⁡p,A,B,C
p
detail⁡p
name of the objectpform of the objectplane3dequation of the plane−72⁢_x+28⁢_y+4⁢_z=0
xname⁡p
FAIL
As you might notice, the axes do not have names yet. The command Equation provides you with a chance to name the axes.
When you execute this command, a dialog box appears. Enter a, b, and c for the names of the axes.
Equation⁡p
−72⁢a+28⁢b+4⁢c=0
Ask the same question again:
xname⁡p;yname⁡p;zname⁡p
a
b
c
name of the objectpform of the objectplane3dequation of the plane−72⁢a+28⁢b+4⁢c=0
See Also
geom3d[Equation]
geom3d[tname]
Download Help Document