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

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

Constructor & Destructor Documentation

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

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

Member Function Documentation

def utils.Rect2D.SetHeight (   self,
  height 
)

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

def utils.Rect2D.SetWidth (   self,
  width 
)

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

Field Documentation

utils.Rect2D.height

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

Referenced by utils.Rect2D.GetHeight().

utils.Rect2D.width

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

Referenced by utils.Rect2D.GetWidth().


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