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

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

> 

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

(1)
> 

detail⁡p

Warning, assuming that the names of the axes are _x, _y and _z

name of the objectpform of the objectplane3dequation of the plane−72⁢_x+28⁢_y+4⁢_z=0

(2)
> 

xname⁡p

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.

> 

Equation⁡p

−72⁢a+28⁢b+4⁢c=0

(4)

Ask the same question again:

> 

xname⁡p;yname⁡p;zname⁡p

a

b

c

(5)
> 

detail⁡p

name of the objectpform of the objectplane3dequation of the plane−72⁢a+28⁢b+4⁢c=0

(6)

See Also

geom3d[Equation]

geom3d[tname]