#include <multicontact-api/geometry/linear-cone.hpp>
Public Types | |
enum | { dim = _dim , Options = _Options } |
typedef Eigen::Matrix< Scalar, dim, -1, Options > | MatrixDx |
typedef Eigen::Matrix< Scalar, dim, dim, Options > | MatrixD |
typedef Eigen::Matrix< Scalar, dim, 1, Options > | VectorD |
typedef Eigen::DenseIndex | Index |
Public Member Functions | |
LinearCone () | |
Default constructor. | |
template<typename EigenDerived > | |
LinearCone (const Eigen::MatrixBase< EigenDerived > &rays) | |
Constructor from a set of rays. | |
LinearCone (const Index size) | |
Contrustor from a given size. | |
template<typename S2 , int O2> | |
LinearCone (const LinearCone< S2, dim, O2 > &other) | |
Copy constructor. | |
void | addRay (const VectorD &ray) |
template<typename EigenDerived > | |
void | stack (const Eigen::MatrixBase< EigenDerived > &rays) |
template<typename S2 , int O2> | |
void | stack (const LinearCone< S2, dim, O2 > &other) |
const MatrixDx & | rays () const |
MatrixDx & | rays () |
Index | size () const |
template<typename S2 , int O2> | |
bool | operator== (const LinearCone< S2, dim, O2 > &other) const |
template<typename S2 , int O2> | |
bool | operator!= (const LinearCone< S2, dim, O2 > &other) const |
template<typename S2 , int O2> | |
bool | isApprox (const LinearCone< S2, dim, O2 > &other, const Scalar &prec=Eigen::NumTraits< Scalar >::dummy_precision()) const |
void | disp (std::ostream &os) const |
![]() | |
void | loadFromText (const std::string &filename) |
Loads a Derived object from a text file. | |
void | saveAsText (const std::string &filename) const |
Saved a Derived object as a text file. | |
void | loadFromXML (const std::string &filename, const std::string &tag_name) |
Loads a Derived object from an XML file. | |
void | saveAsXML (const std::string &filename, const std::string &tag_name) const |
Saved a Derived object as an XML file. | |
void | loadFromBinary (const std::string &filename) |
Loads a Derived object from an binary file. | |
void | saveAsBinary (const std::string &filename) const |
Saved a Derived object as an binary file. | |
Public Attributes | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar | Scalar |
Protected Attributes | |
MatrixDx | m_rays |
Rays of the linear cone. | |
Friends | |
class | boost::serialization::access |
std::ostream & | operator<< (std::ostream &os, const LinearCone &C) |
typedef Eigen::DenseIndex multicontact_api::geometry::LinearCone< _Scalar, _dim, _Options >::Index |
typedef Eigen::Matrix<Scalar, dim, dim, Options> multicontact_api::geometry::LinearCone< _Scalar, _dim, _Options >::MatrixD |
typedef Eigen::Matrix<Scalar, dim, -1, Options> multicontact_api::geometry::LinearCone< _Scalar, _dim, _Options >::MatrixDx |
typedef Eigen::Matrix<Scalar, dim, 1, Options> multicontact_api::geometry::LinearCone< _Scalar, _dim, _Options >::VectorD |
|
inline |
Default constructor.
|
inlineexplicit |
Constructor from a set of rays.
|
inlineexplicit |
Contrustor from a given size.
|
inline |
Copy constructor.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |
|
protected |
Rays of the linear cone.
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar multicontact_api::geometry::LinearCone< _Scalar, _dim, _Options >::Scalar |