| 377 | */ |
| 378 | template<typename NewScalarType> |
| 379 | EIGEN_DEVICE_FUNC inline typename internal::cast_return_type<AlignedBox, |
| 380 | AlignedBox<NewScalarType,AmbientDimAtCompileTime> >::type cast() const |
| 381 | { |
| 382 | return typename internal::cast_return_type<AlignedBox, |
| 383 | AlignedBox<NewScalarType,AmbientDimAtCompileTime> >::type(*this); |
| 384 | } |
| 385 | |
| 386 | /** Copy constructor with scalar type conversion */ |
| 387 | template<typename OtherScalarType> |