|
GRASS Programmer's Manual
6.5.svn(2012)-r51648
|
Class representing rectangle with floating point values. More...

Public Member Functions | |
| def | __init__ |
| def | GetX |
| def | GetY |
| def | GetWidth |
| def | SetWidth |
| def | GetHeight |
| def | SetHeight |
Data Fields | |
| width | |
| height | |
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.
| def utils.Rect2D.__init__ | ( | self, | |
x = 0, |
|||
y = 0, |
|||
width = 0, |
|||
height = 0 |
|||
| ) |
Definition at line 38 of file psmap/utils.py.
| def utils.Rect2D.GetHeight | ( | self | ) |
Definition at line 53 of file psmap/utils.py.
References utils.Rect2D.height, mapdisp.MapFrameBase.height, wxnviz.Nviz.height, histogram.HistogramFrame.height, render.Map.height, colorrules.ColorTable.height, model.ModelCondition.height, wxnviz.Texture.height, and dialogs.ImageSizeDialog.height.
| def utils.Rect2D.GetWidth | ( | self | ) |
Definition at line 47 of file psmap/utils.py.
References utils.Rect2D.width, wxnviz.Nviz.width, render.Map.width, colorrules.ColorTable.width, model.ModelCondition.width, wxnviz.Texture.width, and dialogs.ImageSizeDialog.width.
| def utils.Rect2D.GetX | ( | self | ) |
Definition at line 41 of file psmap/utils.py.
References point.x, fcell_triple.x, pg_vertex.x, intersection_point.x, triple.x, Slink.x, vector.x, plane.x, XPNT.x, N_les.x, CROSS.x, N_gradient_neighbours_2d.x, and frame.ModelEvtHandler.x.
| def utils.Rect2D.GetY | ( | self | ) |
Definition at line 44 of file psmap/utils.py.
References point.y, fcell_triple.y, pg_vertex.y, intersection_point.y, triple.y, vector.y, plane.y, XPNT.y, CROSS.y, N_gradient_neighbours_2d.y, and frame.ModelEvtHandler.y.
| 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.
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().