PolyhedralSets
IsFace
test whether or not a given polyhedral set is a face of another polyhedral set
Calling Sequence
Parameters
Description
Examples
Compatibility
IsFace(ps1, ps2)
ps1
-
PolyhedralSet, the potential face of ps2
ps2
PolyhedralSet, the polyhedral set possibly containing ps1 as a face
Checks to see if the n dimensional set ps1 is an n-face of the m dimensional set ps2.
This command checks for proper faces only, so that the dimension of ps1 must be at least zero (a vertex) and at most m−1 (a facet of ps2). The empty set is not considered a face of ps2.
with⁡PolyhedralSets:
A vertex is a 0-face of a set
p≔PolyhedralSet⁡1,0,0,1,1,1,0,0,x,y:p_vertex≔PolyhedralSet⁡1,0,x,y:IsFace⁡p_vertex,p
true
The faces of a set will return true when tested using IsFace
c≔ExampleSets:-Cube⁡:
c_faces≔Faces⁡c
c_faces≔{Coordinates:x1,x2,x3Relations:−x3≤1,x3≤1,−x2≤1,x2≤1,x1=−1,{Coordinates:x1,x2,x3Relations:−x3≤1,x3≤1,−x2≤1,x2≤1,x1=1,{Coordinates:x1,x2,x3Relations:−x3≤1,x3≤1,x2=−1,−x1≤1,x1≤1,{Coordinates:x1,x2,x3Relations:−x3≤1,x3≤1,x2=1,−x1≤1,x1≤1,{Coordinates:x1,x2,x3Relations:x3=−1,−x2≤1,x2≤1,−x1≤1,x1≤1,{Coordinates:x1,x2,x3Relations:x3=1,−x2≤1,x2≤1,−x1≤1,x1≤1
map⁡IsFace,c_faces,c
true,true,true,true,true,true
The PolyhedralSets[IsFace] command was introduced in Maple 2015.
For more information on Maple 2015 changes, see Updates in Maple 2015.
See Also
PolyhedralSets[`in`]
PolyhedralSets[Faces]
PolyhedralSets[LocatePoint]
PolyhedralSets[IsEmpty]
PolyhedralSets[PolyhedralSet]
Download Help Document