geom3d
gtetrahedron
define a general tetrahedron
Calling Sequence
Parameters
Description
Examples
gtetrahedron(T, gv)
T
-
name; tetrahedron
gv
list; four points or planes that define a tetrahedron
The gtetrahedron(T,gv) function defines a tetrahedron from the four vertices or planes gv.
For more details on the tetrahedron T, use geom3d[detail].
The command with(geom3d,gtetrahedron) allows the use of the abbreviated form of this command.
with⁡geom3d:
point⁡A,0,0,0,point⁡B,1,0,0,point⁡C,0,0,1,point⁡F,0,1,0:
gtetrahedron⁡T1,A,B,C,F
T1
detail⁡T1
name of the objectT1form of the objectgtetrahedron3dthe 4 vertices0,0,0,1,0,0,0,0,1,0,1,0the 4 faces0,0,0,1,0,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,0,1,0,1,0,1,0,0,0,0,1,0,1,0
volume⁡T1
16
_EnvXName≔x:_EnvYName≔y:_EnvZName≔z:
plane⁡p1,x+y+z=1,plane⁡p2,x=0,plane⁡p3,y=0,plane⁡p4,z=0:
gtetrahedron⁡T2,p1,p2,p3,p4
T2
detail⁡T2
name of the objectT2form of the objectgtetrahedron3dthe 4 vertices0,0,1,0,1,0,1,0,0,0,0,0the 4 faces0,0,1,0,1,0,1,0,0,0,0,1,0,1,0,0,0,0,0,0,1,1,0,0,0,0,0,0,1,0,1,0,0,0,0,0
See Also
geom3d[detail]
geom3d[line]
geom3d[plane]
geom3d[point]
Download Help Document