Vault  4.1
Public Member Functions | Static Public Member Functions | Friends
VSizeT< T > Class Template Reference

VSizeT defines a width and height. More...

#include <vgeometry.h>

List of all members.

Public Member Functions

 VSizeT (T width, T height)
 VSizeT (VBinaryIOStream &stream)
void readFromStream (VBinaryIOStream &stream)
void writeToStream (VBinaryIOStream &stream) const
getWidth () const
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)

Detailed Description

template<typename T>
class VSizeT< T >

VSizeT defines a width and height.

VSize uses VDouble values; VISize uses int values.

Definition at line 78 of file vgeometry.h.


The documentation for this class was generated from the following file:

Copyright ©1997-2014 Trygve Isaacson. All rights reserved. This documentation was generated with Doxygen.