Meta_PropSemantics::Range
Helper object for constructing a range of two vector objects.
#include <meta_semantics.hpp>
Public Functions
Type | Name |
---|---|
template <typename T > T | maxVal() const casts the single maximum value to T and returns it |
template <template< typename > class C,typename T > C< T > | maxVal() const casts the maximum value to vector type C<T> and returns it. |
template <typename T > T | minVal() const casts the single minimum value to T and returns it |
template <template< typename > class C,typename T > C< T > | minVal() const casts the minimum value to vector type C<T> and returns it |
operator double *() | |
Range() | |
Range(double min, double max) | |
Range(const vtCore::vec2d & min, const vtCore::vec2d & max) | |
Range(const vtCore::vec3d & min, const vtCore::vec3d & max) | |
Range(const vtCore::vec4d & min, const vtCore::vec4d & max) |
Public Attributes
Type | Name |
---|---|
double[8] | d8 |
Public Functions Documentation
maxVal
template <typename T >
inline T maxVal() const
casts the single maximum value to T
and returns it
maxVal
template <template< typename > class C,
typename T >
inline C< T > maxVal() const
casts the maximum value to vector type C<T>
and returns it.
minVal
template <typename T >
inline T minVal() const
casts the single minimum value to T
and returns it
minVal
template <template< typename > class C,
typename T >
inline C< T > minVal() const
casts the minimum value to vector type C<T>
and returns it
operator double *
inline operator double *()
Range
inline Range()
Range
inline Range(
double min,
double max
)
Range
inline Range(
const vtCore::vec2d & min,
const vtCore::vec2d & max
)
Range
inline Range(
const vtCore::vec3d & min,
const vtCore::vec3d & max
)
Range
inline Range(
const vtCore::vec4d & min,
const vtCore::vec4d & max
)
Public Attributes Documentation
d8
double[8] d8;