geometry
VerticalName
find the name of the vertical axis used to define an object
Calling Sequence
Parameters
Description
Examples
VerticalName(obj)
obj
-
line, triangle, circle, parabola, ellipse, or hyperbola
The routine returns the name of the vertical 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,VerticalName) allows the use of the abbreviated form of this command.
with⁡geometry:
point⁡A,0,0,point⁡B,1,1:
line⁡l,A,B
l
detail⁡l
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
VerticalName⁡l
FAIL
The horizontal and vertical axes do not have names. Assign names to the axes.
_EnvHorizontalName≔a:_EnvVerticalName≔b:
Equation⁡l
−a+b=0
Request the name of the vertical axis again.
b
name of the objectlform of the objectline2dequation of the line−a+b=0
See Also
geometry[HorizontalName]
Download Help Document