geom3d[triangle] - define a triangle
triangle(T, [A, B, C], n)
triangle(T, [l1, l2, l3], n)
the name of the triangle
A, B, C
l1, l2, l3
(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:
returns the form of the geometric object (i.e., triangle3d if T is a triangle).
returns the list of three vertices of T
returns a detailed description of the triangle T.
The command with(geom3d,triangle) allows the use of the abbreviated form of this command.
define three points A⁡0,0,0,B⁡1,1,1, and C⁡1,0,2
define the triangle T1 that has A,B,C as its vertices
geom3d[altitude], geom3d[area], geom3d[IsEquilateral], geom3d[IsRightTriangle], geom3d[objects], geom3d[sides]
Download Help Document