PolyhedralSets
Volume
volume of polyhedral set
Area
area of polyhedral set
Length
length of polyhedral set
Calling Sequence
Parameters
Description
Examples
Compatibility
Volume(polyset)
Volume(polyset, d)
Area(polyset)
Length(polyset)
polyset
-
polyhedral set
d
(optional) non-negative integer, dimensionality of the set in which the volume should be computed; default is the dimension of polyset's coordinate space
The Volume command computes the volume of a polyhedral set in the generalized sense of a Lebesgue measure, defining a d-volume of a set in higher dimensions. For sets in 3, 2, and 1 dimensional spaces, this corresponds to the standard definitions of volume, area, and length, respectively.
The optional parameter d specifies which d-volume to compute for the set, where d is less than or equal to the number of polyset's coordinates. For sets of dimension greater than d, the sum of the volumes for the d-faces is computed.
The Area and Length commands are used to compute the 2-volume and 1-volume of polyset, respectively, and are equivalent to Volume(polyset, 2) and Volume(polyset, 1).
with⁡PolyhedralSets:
For the standard cube
c≔ExampleSets:-Cube⁡
c≔{Coordinates:x1,x2,x3Relations:−x3≤1,x3≤1,−x2≤1,x2≤1,−x1≤1,x1≤1
the edges of the cube all have length 2
c_edges≔Edges⁡c:map⁡Length,c_edges
2,2,2,2,2,2,2,2,2,2,2,2
the cube has a volume of 8
Volume⁡c
8
and the total surface area of the cube is
Area⁡c
24
The polyhedral set ps is a three-dimensional polytope in four-dimensional space.
ps≔PolyhedralSet⁡1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,x,y,z,u
ps≔{Coordinates:x,y,z,uRelations:−z≤0,−y≤0,−x≤0,x+y+z≤1,x+y+z+u=1
Its four-dimensional volume is 0, but its three-dimensional volume is positive.
Volume⁡ps
0
Volume⁡ps,3
13
The PolyhedralSets[Volume], PolyhedralSets[Area] and PolyhedralSets[Length] commands were introduced in Maple 2015.
For more information on Maple 2015 changes, see Updates in Maple 2015.
See Also
PolyhedralSets[Faces]
PolyhedralSets[Dimension]
PolyhedralSets[PolyhedralSet]
Download Help Document