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](..).

Examples

>

with(geom3d):

Define four points , , , and .

>

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 and end points , , and respectively.