find the name of the x-axis used to define an object - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Geometry : 3-D Euclidean : geom3d/xname

geom3d[xname] - find the name of the x-axis used to define an object

geom3d[yname] - find the name of the y-axis used to define an object

geom3d[zname] - find the name of the z-axis used to define an object

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

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

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]


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam