GET EDGES

Gets the edges of a region

Contents

Method of pwag object.

Description

This method returns the edges of a given region. The edges are returned as two matrices H and K such as the given region can be represented by the set of points x for which $H x \leq K$. If no region is provided the edges of all the regions are returned as "big" matrices H and K. If more polytopes share the same edge, it is reported only once in the matrices H and K.

Syntax

[H K] = getEdges(object)

Returns all the edges of the polytopic partition. The edges are returned as a "big" matrix H of dimensions $n_{edges} \times n_{dim}$ and a "big" column vector K of n_edges elements.

[H K] = getEdges(object,reg)

Returns the edges of the polytope whose index is contained in reg. If reg has multiple elements, only the first one is considered.

NOTE: If object is an array of pwag objects, only the first element is considered.

Acknowledgements

Contributors:

Copyright is with: