/**
* @brief Copy constructor.
* @SINCE_1_0.0
- * @param rhs to copy from
+ * @param[in] rhs A reference to assign
*/
Uint16Pair( const Uint16Pair& rhs )
{
}
/**
- * @brief @returns the x dimension stored in this 2-tuple.
+ * @brief Get the width.
* @SINCE_1_0.0
+ * @return the x dimension stored in this 2-tuple
*/
uint16_t GetWidth() const
{
}
/**
- * @brief @returns the y dimension stored in this 2-tuple.
+ * @brief Returns the y dimension stored in this 2-tuple.
* @SINCE_1_0.0
+ * @return Height
*/
uint16_t GetHeight() const
{
}
/**
- * @brief @returns the x dimension stored in this 2-tuple.
+ * @brief Returns the x dimension stored in this 2-tuple.
* @SINCE_1_0.0
+ * @return X
*/
uint16_t GetX() const
{
}
/**
- * @brief @returns the y dimension stored in this 2-tuple.
+ * @brief Returns the y dimension stored in this 2-tuple.
* @SINCE_1_0.0
+ * @return Y
*/
uint16_t GetY() const
{
/**
* @brief Assignment operator.
* @SINCE_1_0.0
+ * @param[in] rhs Handle to an object
+ * @return A reference to this
*/
Uint16Pair& operator=( const Uint16Pair& rhs )
{
/**
* @brief Equality operator.
* @SINCE_1_0.0
+ * @param[in] rhs A reference for comparison
+ * @return True if same
*/
bool operator==( const Uint16Pair& rhs ) const
{
/**
* @brief Inequality operator.
* @SINCE_1_0.0
+ * @param[in] rhs A reference for comparison
+ * @return True if different
*/
bool operator!=( const Uint16Pair& rhs ) const
{
* @brief Less than comparison operator for storing in collections (not geometrically
* meaningful).
* @SINCE_1_0.0
+ * @param[in] rhs A reference for comparison
+ * @return True if less
*/
bool operator<( const Uint16Pair& rhs ) const
{
* @brief Greater than comparison operator for storing in collections (not
* geometrically meaningful).
* @SINCE_1_0.0
+ * @param[in] rhs A reference for comparison
+ * @return True if greater
*/
bool operator>( const Uint16Pair& rhs ) const
{
* Uses a template for loose coupling, to save a header include, and allow any
* vector type with .x and .y members to be converted.
* @SINCE_1_0.0
+ * @param[in] from Floating point vector2
+ * @return Closest integer value.
*/
template<typename FLOAT_VECTOR_N_TYPE>
static Uint16Pair FromFloatVec2( const FLOAT_VECTOR_N_TYPE& from )
* Uses a template to allow any vector type with operator [] to be converted
* in addition to plain arrays.
* @SINCE_1_0.0
+ * @param[in] from Floating point array
+ * @return Closest integer value.
*/
template<typename FLOAT_ARRAY>
static Uint16Pair FromFloatArray( const FLOAT_ARRAY& from )