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