geom3d
parallelepiped
define a parallelepiped
Calling Sequence
Parameters
Description
Examples
parallelepiped(pp, [d1, d2, d3])
pp
-
name of the parallelepiped
d1, d2, d3
three directed segments having a common initial point
A parallelepiped is a polyhedron bounded by six parallelograms. It can be defined from three given directed segments having a common initial point.
To access the information related to a parallelepiped pp, use the following function calls:
form(pp)
returns the form of the geometric object
(that is, parallelepiped3d if pp is a parallelepiped).
See geom3d[form].
DefinedAs(pp)
returns the list of three directed segments
defining pp. See geom3d[DefinedAs].
detail(pp)
returns a detailed description of the
parallelepiped pp. See geom3d[detail].
This function is part of the geom3d package, and so it can be used in the form parallelepiped(..) only after executing the command with(geom3d). However, it can always be accessed through the long form of the command by using geom3d[parallelepiped](..).
with⁡geom3d:
Define four points A, B, C, and E.
point⁡A,0,0,0,point⁡B,4,0,0,point⁡C,5,5,1,point⁡E,0,2,5:
Define three directed segments d1, d2, and d3 with initial point A and endpoints B, C, and E respectively.
dsegment⁡d1,A,B,dsegment⁡d2,A,C,dsegment⁡d3,A,E:
Use d1, d2, and d3 to define the parallelepiped pp.
parallelepiped⁡pp,d1,d2,d3
form⁡pp
parallelepiped3d
DefinedAs⁡pp
d1,d2,d3
detail⁡pp
name of the objectppform of the objectparallelepiped3dthe 6 parallelogram faces of the object0,0,0,4,0,0,9,5,1,5,5,1,0,2,5,4,2,5,9,7,6,5,7,6,0,0,0,4,0,0,4,2,5,0,2,5,4,0,0,9,5,1,9,7,6,4,2,5,5,5,1,9,5,1,9,7,6,5,7,6,0,0,0,5,5,1,5,7,6,0,2,5coordinates of the 8 vertices0,0,0,4,0,0,5,5,1,9,5,1,0,2,5,4,2,5,5,7,6,9,7,6
See Also
geom3d[DefinedAs]
geom3d[detail]
geom3d[dsegment]
geom3d[form]
geom3d[polyhedra]
Download Help Document