geom3d
triangle
define a triangle
Calling Sequence
Parameters
Description
Examples
triangle(T, [A, B, C], n)
triangle(T, [l1, l2, l3], n)
T
-
the name of the triangle
A, B, C
three points
l1, l2, l3
three lines
n
(optional) list of three names representing the names of the x-axis, y-axis and the z-axis respectively.
A triangle is a polygon having three sides. A vertex of a triangle is a point at which two of the sides meet.
A triangle T can be defined as follows:
from three given points A, B, C.
from three given lines l1, l2, l3.
To access the information relating to a triangle T, use the following function calls:
form(T)
returns the form of the geometric object (i.e., triangle3d if T is a triangle).
DefinedAs(T)
returns the list of three vertices of T
detail(T)
returns a detailed description of the triangle T.
The command with(geom3d,triangle) allows the use of the abbreviated form of this command.
with⁡geom3d:
define three points A⁡0,0,0,B⁡1,1,1, and C⁡1,0,2
point⁡A,0,0,0,point⁡B,1,1,1,point⁡C,1,0,2:
define the triangle T1 that has A,B,C as its vertices
triangle⁡T1,A,B,C
T1
form⁡T1
triangle3d
map⁡coordinates,DefinedAs⁡T1
0,0,0,1,1,1,1,0,2
See Also
geom3d/objects
geom3d[altitude]
geom3d[area]
geom3d[IsEquilateral]
geom3d[IsRightTriangle]
geom3d[sides]
Download Help Document