Vault
4.1
|
VSizeT defines a width and height. More...
#include <vgeometry.h>
Public Member Functions | |
VSizeT (T width, T height) | |
VSizeT (VBinaryIOStream &stream) | |
void | readFromStream (VBinaryIOStream &stream) |
void | writeToStream (VBinaryIOStream &stream) const |
T | getWidth () const |
T | getHeight () const |
void | setWidth (T width) |
void | setHeight (T height) |
T & | rWidth () |
T & | rHeight () |
VSizeT< T > & | operator+= (const VSizeT< T > &x) |
VSizeT< T > & | operator-= (const VSizeT< T > &x) |
VSizeT< T > & | operator*= (T scale) |
VSizeT< T > & | operator/= (T divisor) |
Static Public Member Functions | |
static bool | equal (const VSizeT< T > &s1, const VSizeT< T > &s2) |
static bool | notEqual (const VSizeT< T > &s1, const VSizeT< T > &s2) |
Friends | |
bool | operator== (const VSizeT< T > &s1, const VSizeT< T > &s2) |
bool | operator!= (const VSizeT< T > &s1, const VSizeT< T > &s2) |
VSizeT< T > | operator+ (const VSizeT< T > &s1, const VSizeT< T > &s2) |
VSizeT< T > | operator- (const VSizeT< T > &s1, const VSizeT< T > &s2) |
VSizeT< T > | operator* (const VSizeT< T > &x, T scale) |
VSizeT< T > | operator* (T scale, const VSizeT< T > &x) |
VSizeT< T > | operator/ (const VSizeT< T > &x, T divisor) |
VSizeT defines a width and height.
VSize uses VDouble values; VISize uses int values.
Definition at line 78 of file vgeometry.h.