GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
utils.Rect2D Class Reference

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

Inheritance diagram for utils.Rect2D:
Collaboration diagram for utils.Rect2D:

Public Member Functions

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

Data Fields


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 32 of file psmap/

Constructor & Destructor Documentation

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

Definition at line 39 of file psmap/

Member Function Documentation

def utils.Rect2D.SetHeight (   self,

Definition at line 57 of file psmap/

def utils.Rect2D.SetWidth (   self,

Definition at line 51 of file psmap/

Field Documentation


Definition at line 58 of file psmap/

Referenced by utils.Rect2D.GetHeight().


Definition at line 52 of file psmap/

Referenced by utils.Rect2D.GetWidth().

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