template<typename Scalar_, int _AmbientDim>
class Eigen::AlignedBox< Scalar_, _AmbientDim >
An axis aligned box.
This is defined in the Geometry module.
#include <Eigen/Geometry>
- Template Parameters
-
Scalar_ | the type of the scalar coefficients |
_AmbientDim | the dimension of the ambient space, can be a compile time value or Dynamic. |
This class represents an axis aligned box as a pair of the minimal and maximal corners.
- Warning
- The result of most methods is undefined when applied to an empty box. You can check for empty boxes using isEmpty().
- See also
- Global aligned box typedefs
|
| AlignedBox () |
|
template<typename OtherScalarType > |
| AlignedBox (const AlignedBox< OtherScalarType, AmbientDimAtCompileTime > &other) |
|
template<typename Derived > |
| AlignedBox (const MatrixBase< Derived > &p) |
|
template<typename OtherVectorType1 , typename OtherVectorType2 > |
| AlignedBox (const OtherVectorType1 &_min, const OtherVectorType2 &_max) |
|
| AlignedBox (Index _dim) |
|
template<typename NewScalarType > |
internal::cast_return_type< AlignedBox, AlignedBox< NewScalarType, AmbientDimAtCompileTime > >::type | cast () const |
|
AlignedBox & | clamp (const AlignedBox &b) |
|
bool | contains (const AlignedBox &b) const |
|
template<typename Derived > |
bool | contains (const MatrixBase< Derived > &p) const |
|
VectorType | corner (CornerType corner) const |
|
CwiseBinaryOp< internal::scalar_difference_op< Scalar, Scalar >, const VectorType, const VectorType > | diagonal () const |
|
Index | dim () const |
|
const | EIGEN_EXPR_BINARYOP_SCALAR_RETURN_TYPE (VectorTypeSum, RealScalar, quotient) center() const |
|
AlignedBox & | extend (const AlignedBox &b) |
|
template<typename Derived > |
AlignedBox & | extend (const MatrixBase< Derived > &p) |
|
NonInteger | exteriorDistance (const AlignedBox &b) const |
|
template<typename Derived > |
NonInteger | exteriorDistance (const MatrixBase< Derived > &p) const |
|
AlignedBox | intersection (const AlignedBox &b) const |
|
bool | intersects (const AlignedBox &b) const |
|
bool | isApprox (const AlignedBox &other, const RealScalar &prec=ScalarTraits::dummy_precision()) const |
|
bool | isEmpty () const |
|
bool | isNull () const |
|
VectorType &() | max () |
|
const VectorType &() | max () const |
|
AlignedBox | merged (const AlignedBox &b) const |
|
VectorType &() | min () |
|
const VectorType &() | min () const |
|
VectorType | sample () const |
|
void | setEmpty () |
|
void | setNull () |
|
const CwiseBinaryOp< internal::scalar_difference_op< Scalar, Scalar >, const VectorType, const VectorType > | sizes () const |
|
Scalar | squaredExteriorDistance (const AlignedBox &b) const |
|
template<typename Derived > |
Scalar | squaredExteriorDistance (const MatrixBase< Derived > &p) const |
|
template<int Mode, int Options> |
void | transform (const Transform< Scalar, AmbientDimAtCompileTime, Mode, Options > &transform) |
|
template<int Mode, int Options> |
void | transform (const typename Transform< Scalar, AmbientDimAtCompileTime, Mode, Options >::TranslationType &translation) |
|
template<int Mode, int Options> |
AlignedBox | transformed (const Transform< Scalar, AmbientDimAtCompileTime, Mode, Options > &transform) const |
|
template<typename Derived > |
AlignedBox & | translate (const MatrixBase< Derived > &a_t) |
|
template<typename Derived > |
AlignedBox | translated (const MatrixBase< Derived > &a_t) const |
|
Scalar | volume () const |
|