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

Online Help

All Products    Maple    MapleSim


geometry

  

HorizontalName

  

find the name of the horizontal axis used to define an object

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

HorizontalName(obj)

Parameters

obj

-

line, triangle, circle, parabola, ellipse, or hyperbola

Description

• 

The routine returns the name of the horizontal axis used to define obj. It returns either a name or FAIL.

• 

The environment variables _EnvHorizontalName and _EnvVerticalName can be assigned names that are used as the names of the horizontal and vertical axes, respectively.

• 

The command with(geometry,HorizontalName) allows the use of the abbreviated form of this command.

Examples

withgeometry:

pointA,0,0,pointB,1,1:

linel,A,B

l

(1)

detaill

assume that the names of the horizontal and vertical axes are _x and _y, respectively

name of the objectlform of the objectline2dequation of the line_x+_y=0

(2)

HorizontalNamel

FAIL

(3)

The horizontal and vertical axes do not have names. Assign names to the axes.

_EnvHorizontalNamea:_EnvVerticalNameb:

Equationl

a+b=0

(4)

Request the name of the horizontal axis again.

HorizontalNamel

a

(5)

detaill

name of the objectlform of the objectline2dequation of the linea+b=0

(6)

See Also

geometry[VerticalName]