tetrahedron - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


plottools

  

tetrahedron

  

generate 3-D plot object for a tetrahedron

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

tetrahedron(p, s, options)

tetrahedron(t, options)

Parameters

p

-

a list of three values specifying the location of the tetrahedron

s

-

(optional) scale of the tetrahedron; default is 1

t

-

a list containing four points (each a list of three values)

options

-

(optional) equations of the form option=value. For a complete list, see plot3d/option.

Description

• 

The tetrahedron command, with the first calling sequence, creates a three-dimensional plot data object, which when displayed is a scaled tetrahedron located at point p. Note that the scale factor is applied in each dimension. This command is an interface to the plots:-polyhedraplot command.

• 

Alternatively, the four vertices of the tetrahedron may be provided using the second calling sequence.

• 

The plot data object produced by the tetrahedron command can be used in a PLOT3D data structure, or displayed using the plots:-display command.

• 

Remaining arguments are interpreted as options, which are specified as equations of the form option=value. For more information, see plottools and plot3d/option.

Examples

withplottools:

withplots:

displaytetrahedron0,0,0,0.8,orientation=55,65

displaytetrahedron0,0,0,0.8,tetrahedron1,1,1,0.5,orientation=45,65

displaytetrahedron0,2,1,3,3,1,2,5,1,1,3,4,color=Blue,transparency=0.5

Compatibility

• 

The p and t parameters were introduced in Maple 2015.

• 

For more information on Maple 2015 changes, see Updates in Maple 2015.

See Also

plot3d/option

plot3d/structure

plots:-display

plots:-polyhedraplot

plottools

plottools:-pyramid