GRASS Programmer's Manual  6.5.svn(2012)-r51648
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
utils.Rect2D Class Reference

Class representing rectangle with floating point values. More...

Inheritance diagram for utils.Rect2D:

Public Member Functions

def __init__
def GetX
def GetY
def GetWidth
def SetWidth
def GetHeight
def SetHeight

Data Fields

 width
 height

Detailed Description

Class representing rectangle with floating point values.

Overrides wx.Rect2D to unify Rect access methods, which are different (e.g. wx.Rect.GetTopLeft() x wx.Rect2D.GetLeftTop()). More methods can be added depending on needs.

Definition at line 31 of file psmap/utils.py.


Constructor & Destructor Documentation

def utils.Rect2D.__init__ (   self,
  x = 0,
  y = 0,
  width = 0,
  height = 0 
)

Definition at line 38 of file psmap/utils.py.


Member Function Documentation

def utils.Rect2D.SetHeight (   self,
  height 
)

Definition at line 56 of file psmap/utils.py.

def utils.Rect2D.SetWidth (   self,
  width 
)

Definition at line 50 of file psmap/utils.py.


Field Documentation

Definition at line 57 of file psmap/utils.py.

Referenced by utils.Rect2D.GetHeight().

Definition at line 51 of file psmap/utils.py.

Referenced by utils.Rect2D.GetWidth().


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