geometry
DefinedAs
returns the name of endpoints or vertices of a segment, directed segment, triangle, or square
Calling Sequence
Parameters
Description
Examples
DefinedAs(obj)
obj
-
segment, directed segment, triangle, or square
The routine returns the endpoints (for segment and directed segment), and vertices (for triangle and square) of obj.
The command with(geometry,DefinedAs) allows the use of the abbreviated form of this command.
with⁡geometry:
point⁡A,0,0,point⁡B,1,1:
segment⁡seg,A,B:
DefinedAs⁡seg
A,B
map⁡coordinates,
0,0,1,1
point⁡C,1,0:
triangle⁡T,A,B,C:
DefinedAs⁡T
A,B,C
0,0,1,1,1,0
See Also
geometry[coordinates]
geometry[dsegment]
geometry[segment]
geometry[square]
geometry[triangle]
Download Help Document