|
codac 2.0.0
|
Class representing a parallelepiped \(\mathbf{z} + \mathbf{A}\cdot[-1,1]^m\). More...
#include <codac2_Parallelepiped.h>


Public Member Functions | |
| Parallelepiped (const Vector &z, const Matrix &A) | |
| Constructs a n-parallelepiped object with a given center and shape matrix. | |
| std::vector< Vector > | vertices () const |
| Computes the vertices of the parallelepiped. | |
| IntervalVector | box () const |
| Computes the axis-aligned bounding box of the parallelepiped. | |
| bool | contains (const Vector &v) const |
| Checks if a given point is contained within the parallelepiped. The matrix A has to be square and invertible. | |
Public Member Functions inherited from codac2::Zonotope | |
| Zonotope (const Vector &z, const Matrix &A) | |
| Constructs a n-zonotope object with a given center and shape matrix. | |
| Zonotope | proj (const std::vector< Index > &indices) const |
| Projects the Zonotope onto the subspace defined by the given indices. | |
Additional Inherited Members | |
Public Attributes inherited from codac2::Zonotope | |
| Vector | z |
| Center of the zonotope. | |
| Matrix | A |
| Shape matrix of the zonotope. | |
Class representing a parallelepiped \(\mathbf{z} + \mathbf{A}\cdot[-1,1]^m\).
This class represents a parallelepiped in n-dimensional space, defined by a center point \(\mathbf{z}\) and a shape matrix \(\mathbf{A}\).
A parallelepiped is a special case of a zonotope where the shape matrix \(\mathbf{A}\) has \(m\) columns with \(m \leqslant n\).
Constructs a n-parallelepiped object with a given center and shape matrix.
| z | Center of the parallelepiped (n-dimensional vector) |
| A | Shape matrix of the parallelepiped ( \(n\times m\) matrix with \(m \leqslant n\)) |
| std::vector< Vector > codac2::Parallelepiped::vertices | ( | ) | const |
Computes the vertices of the parallelepiped.
| IntervalVector codac2::Parallelepiped::box | ( | ) | const |
Computes the axis-aligned bounding box of the parallelepiped.
| bool codac2::Parallelepiped::contains | ( | const Vector & | v | ) | const |
Checks if a given point is contained within the parallelepiped. The matrix A has to be square and invertible.
| v | The point to check (n-dimensional vector) |