xname - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


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

Calling Sequence

xname(obj)

yname(obj)

zname(obj)

Parameters

obj

-

a plane, a sphere

Description

• 

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.

Examples

withgeom3d:

Define the plane from three given points A, B, C

pointA,0,0,0,pointB,1,1,11,pointC,3,7,5:

planep,A,B,C

p

(1)

detailp

name of the objectpform of the objectplane3dequation of the plane72_x+28_y+4_z=0

(2)

xnamep

FAIL

(3)

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.

Equationp

72a+28b+4c=0

(4)

Ask the same question again:

xnamep;ynamep;znamep

a

b

c

(5)

detailp

name of the objectpform of the objectplane3dequation of the plane72a+28b+4c=0

(6)

See Also

geom3d[Equation]

geom3d[tname]