SL_Rectangle Struct Reference

Helper structure used to specify the dimensions of the velocity field. More...

#include <streamlines.h>

List of all members.

Public Member Functions

 SL_Rectangle ()
 Empty Constructor.
 SL_Rectangle (float left, float bottom, float right, float top)
 Common Constructor.
float GetWidth () const
 Returns the width of the velocity field (depending on the specified left and right border).
float GetHeight () const
 Returns the height of the velocity field (depending on the specified top and bottom border).

Public Attributes

Dimension of the velocity field specified as borders
float left
float bottom
float right
float top


Detailed Description

Helper structure used to specify the dimensions of the velocity field.

Definition at line 81 of file streamlines.h.


Constructor & Destructor Documentation

SL_Rectangle::SL_Rectangle (  )  [inline]

Empty Constructor.

Definition at line 89 of file streamlines.h.

SL_Rectangle::SL_Rectangle ( float  left,
float  bottom,
float  right,
float  top 
) [inline]

Common Constructor.

Definition at line 92 of file streamlines.h.


Member Function Documentation

float SL_Rectangle::GetWidth (  )  const [inline]

Returns the width of the velocity field (depending on the specified left and right border).

Definition at line 100 of file streamlines.h.

References left, and right.

float SL_Rectangle::GetHeight (  )  const [inline]

Returns the height of the velocity field (depending on the specified top and bottom border).

Definition at line 104 of file streamlines.h.

References bottom, and top.


Member Data Documentation


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

Generated on Wed Jan 21 16:22:24 2009 for FlowVis by  doxygen 1.5.6