Parallelepiped(const Vector &z, const Matrix &A)
Constructs a n-parallelepiped object with a given center and shape matrix.
IntervalVector box() const
Computes the axis-aligned bounding box of the parallelepiped.
std::vector< Vector > vertices() const
Computes the vertices 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 inv...
Zonotope(const Vector &z, const Matrix &A)
Constructs a n-zonotope object with a given center and shape matrix.
Vector z
Center of the zonotope.
Definition codac2_Zonotope.h:52
Matrix A
Shape matrix of the zonotope.
Definition codac2_Zonotope.h:57
Definition codac2_OctaSym.h:21
Eigen::Matrix< double,-1, 1 > Vector
Alias for a dynamically-sized column vector of doubles.
Definition codac2_Vector.h:24
Eigen::Matrix< Interval,-1, 1 > IntervalVector
Alias for a dynamic-size column vector of intervals.
Definition codac2_IntervalVector.h:25
Eigen::Matrix< double,-1,-1 > Matrix
Alias for a dynamic-size matrix of doubles.
Definition codac2_Matrix.h:26