|  | 
| These are mostly for backwards compatibility with functions that take old-style Vs (which are just arrays).  | 
| T | mm [SIZE] | 
|  | Copies this tuple into an array of a compatible type. 
 | 
|  | 
| template<typename S> | 
| void | toV (S *v) const | 
|  | Copies this tuple into an array of a compatible type. 
 | 
|  | 
| value_type * | asV () | 
|  | Exposes the internal array. Be careful when using this function. 
 | 
|  | 
| value_type const * | asV () const | 
|  | Exposes the internal array. Be careful when using this function. 
 | 
|  | 
| std::string | str () const | 
|  | 
| void | write (std::ostream &os) const | 
|  | Copies this tuple into an array of a compatible type. 
 | 
|  | 
| void | read (std::istream &is) | 
|  | Copies this tuple into an array of a compatible type. 
 | 
|  | 
| bool | isNan () const | 
|  | True if a Nan is present in this tuple. 
 | 
|  | 
| bool | isInfinite () const | 
|  | True if an Inf is present in this tuple. 
 | 
|  | 
| bool | isFinite () const | 
|  | True if no Nan or Inf values are present. 
 | 
|  | 
| bool | isZero () const | 
|  | True if all elements are exactly zero. 
 | 
|  | 
template<int SIZE, typename T>
class openvdb::v12_0::math::Tuple< SIZE, T >
A base class for homogenous tuple types 
template<int SIZE, typename T> 
template<int src_size, typename src_valtype> 
  
  | 
        
          | Tuple | ( | Tuple< src_size, src_valtype > const & | src | ) |  |  | inlineexplicit | 
 
Conversion constructor. 
Tuples with different value types and different sizes can be interconverted using this member. Converting from a larger tuple results in truncation; converting from a smaller tuple results in the extra data members being zeroed out. This function assumes that the integer 0 is convertible to the tuple's value type.