Template Function rcppsw::spatial::xspan(const TCoord&, const double&)
Defined in File spatial.hpp
Function Documentation
-
template<typename TCoord, typename std::enable_if<std::is_floating_point<typename TCoord::value_type>::value, int>::type = 0>
static inline rmath::ranged rcppsw::spatial::xspan(const TCoord &anchor, const double &dim) Calculate the span in {X,Y,Z} in real coordinates of an entity given the position of its 3D center and dimension in {X,Y<Z}.
- Returns:
The span in {X,Y,Z} of the entity.