PolyhedralSets
VerticesAndRays
vertices and rays of a polyhedral set
Calling Sequence
Parameters
Description
Examples
Compatibility
VerticesAndRays(polyset, options)
polyset
-
polyhedral set
options
choice of method and type of vertices returned; see Description Section for details
This command computes the vertices and rays of the polyhedral set polyset. It returns two lists, the first being the vertices of the set and the second its rays. Either list could be empty, depending on the set and the options specified.
The available options are:
The method = enumeration option (default) computes a set's V-Representation by recursively computing its facets until its minimal dimensional faces have been calculated. The vertices and rays are then inferred and returned. The method = duality option computes the set's V-Representation using its polar dual. This method is applicable to bounded polyhedral sets that contain the origin in their interior.
The vertextype option selects whether or not the vertices returned by VerticesAndRays are strict vertices of polyset. The default vertextype = extremepoints returns only vertices that are extreme points of polyset, while vertextype = vrepresentation return the vertices necessary to form a V-Representation of polyset. With vertextype = vrepresentation, this command will return vertices even if the set does not have any extreme points, i.e. when Faces(polyset, dimension = 0) returns an empty list. This option has no effect on sets that have vertices.
with⁡PolyhedralSets:
Bounded sets like the octahedron have vertices, but the list of rays is empty.
octa≔ExampleSets:-Octahedron⁡
octa≔{Coordinates:x1,x2,x3Relations:−x1−x2−x3≤1,−x1−x2+x3≤1,−x1+x2−x3≤1,−x1+x2+x3≤1,x1−x2−x3≤1,x1−x2+x3≤1,x1+x2−x3≤1,x1+x2+x3≤1
VerticesAndRays⁡octa
0,−1,0,0,0,−1,−1,0,0,0,0,1,0,1,0,1,0,0,
The rays of an unbounded set indicate the direction(s) in which the set extends infinitely. The half-space
H≔PolyhedralSet⁡1≤x,x,y:
extends in the positive x, positive y and negative y directions, as indicated by its rays.
v,r≔VerticesAndRays⁡H
v,r≔,0,1,0,−1,1,0
Since H has no extreme points, the list of vertices v is empty. We can query the V-Representation of H using the vertextype = vrepresentation option, which returns an arbitrary point on the surface of the half-space as a vertex.
v,r≔VerticesAndRays⁡H,vertextype=vrepresentation
v,r≔1,0,0,1,0,−1,1,0
The PolyhedralSets[VerticesAndRays] command was introduced in Maple 2015.
For more information on Maple 2015 changes, see Updates in Maple 2015.
See Also
PolyhedralSets[IsInInterior]
PolyhedralSets[Faces]
PolyhedralSets[DualSet]
PolyhedralSets[PolyhedralSet]
Download Help Document