TGrid: Razlika med redakcijama
Iz SDMS
Jump to navigationJump to searchm |
m |
||
| Vrstica 1: | Vrstica 1: | ||
{{Work}} | {{Work}} | ||
| − | Razred '''TGrid''' je namenjen . | + | Razred '''TGrid''' je namenjen delu z podatki v gridu. |
| − | === | + | ===Lastnosti grida=== |
| − | Lastnost ''' | + | Te lastnosti nam vrnejo osnovne parametre grida določene v XML datoteki [[Struktura_XML_datotek|XML_struktura_grida]]. |
| + | |||
| + | ===OriginY=== | ||
| + | Lastnost '''OriginY''' . | ||
<declaration> | <declaration> | ||
| − | RO Property|TGrid. | + | RO Property|TGrid.OriginY |
| − | Result| | + | Result|Float|. |
</declaration> | </declaration> | ||
<source></source> | <source></source> | ||
| − | === | + | ===OriginX=== |
| − | Lastnost ''' | + | Lastnost '''OriginX''' . |
<declaration> | <declaration> | ||
| − | RO Property|TGrid. | + | RO Property|TGrid.OriginX |
Result|Float|. | Result|Float|. | ||
</declaration> | </declaration> | ||
<source></source> | <source></source> | ||
| − | === | + | ===CellDimenY=== |
| − | Lastnost ''' | + | Lastnost '''CellDimenY''' . |
| + | <declaration> | ||
| + | RO Property|TGrid.CellDimenY | ||
| + | Result|Float|. | ||
| + | </declaration> | ||
| + | <source></source> | ||
| + | |||
| + | ===CellDimenX=== | ||
| + | Lastnost '''CellDimenX''' . | ||
| + | <declaration> | ||
| + | RO Property|TGrid.CellDimenX | ||
| + | Result|Float|. | ||
| + | </declaration> | ||
| + | <source></source> | ||
| + | |||
| + | ===CellCountY=== | ||
| + | Lastnost '''CellCountY''' . | ||
| + | <declaration> | ||
| + | RO Property|TGrid.CellCountY | ||
| + | Result|Long|. | ||
| + | </declaration> | ||
| + | <source></source> | ||
| + | |||
| + | ===CellCountX=== | ||
| + | Lastnost '''CellCountX''' . | ||
| + | <declaration> | ||
| + | RO Property|TGrid.CellCountX | ||
| + | Result|Long|. | ||
| + | </declaration> | ||
| + | <source></source> | ||
| + | |||
| + | ===TileCountX=== | ||
| + | Lastnost '''TileCountX''' . | ||
<declaration> | <declaration> | ||
| − | RO Property|TGrid. | + | RO Property|TGrid.TileCountX |
Result|Long|. | Result|Long|. | ||
</declaration> | </declaration> | ||
<source></source> | <source></source> | ||
| − | === | + | ===TileCountY=== |
| − | Lastnost ''' | + | Lastnost '''TileCountY''' . |
<declaration> | <declaration> | ||
| − | RO Property|TGrid. | + | RO Property|TGrid.TileCountY |
Result|Long|. | Result|Long|. | ||
</declaration> | </declaration> | ||
<source></source> | <source></source> | ||
| − | === | + | ===TotalCellCountX=== |
| − | Lastnost ''' | + | Lastnost '''TotalCellCountX''' . |
<declaration> | <declaration> | ||
| − | Property|TGrid. | + | RO Property|TGrid.TotalCellCountX |
| − | + | Result|Long|. | |
| − | |||
| − | |||
</declaration> | </declaration> | ||
<source></source> | <source></source> | ||
| − | === | + | ===TotalCellCountY=== |
| − | Lastnost ''' | + | Lastnost '''TotalCellCountY''' . |
<declaration> | <declaration> | ||
| − | Property|TGrid. | + | RO Property|TGrid.TotalCellCountY |
| − | + | Result|Long|. | |
| − | |||
| − | Result| | ||
</declaration> | </declaration> | ||
<source></source> | <source></source> | ||
| − | === | + | ===Uporaba podatkov=== |
| − | + | ||
| + | ===CellValue=== | ||
| + | Lastnost '''CellValue''' . | ||
<declaration> | <declaration> | ||
| − | + | Property|TGrid.CellValue | |
| − | + | Y|Float|. | |
| + | X|Float|. | ||
| + | Index|Long|. | ||
| + | Result|Float|. | ||
</declaration> | </declaration> | ||
<source></source> | <source></source> | ||
| − | === | + | ===GetPointArrayContour=== |
| − | Metoda ''' | + | Metoda '''GetPointArrayContour''' . |
<declaration> | <declaration> | ||
| − | Method|TGrid. | + | Method|TGrid.GetPointArrayContour |
| − | + | P|TPointArray|. | |
| + | Step|Float|. | ||
| + | Index|Long|. | ||
</declaration> | </declaration> | ||
<source></source> | <source></source> | ||
| − | === | + | ===GetPointArrayContourVP=== |
| − | + | Lastnost '''GetPointArrayContourVP''' . | |
<declaration> | <declaration> | ||
| − | + | RO Property|TGrid.GetPointArrayContourVP | |
| − | + | P|TPointArray|. | |
| − | + | Step|Float|. | |
| − | + | Index|Long|. | |
| − | + | Result|TPointArray|. | |
| − | |||
</declaration> | </declaration> | ||
<source></source> | <source></source> | ||
| − | === | + | ===GetPointArrayNodes=== |
| − | + | Metoda '''GetPointArrayNodes''' . | |
<declaration> | <declaration> | ||
| − | + | Method|TGrid.GetPointArrayNodes | |
| − | + | P|TPointArray|. | |
| + | Index|Long|. | ||
</declaration> | </declaration> | ||
<source></source> | <source></source> | ||
| − | === | + | ==Uvoz podatkov== |
| − | + | ===LoadXYZ=== | |
| + | Metoda '''LoadXYZ''' . | ||
<declaration> | <declaration> | ||
| − | + | Method|TGrid.LoadXYZ | |
| − | + | Path|String|. | |
| + | Mask|String|. | ||
| + | Options|String|. | ||
| + | Index|Long|. | ||
</declaration> | </declaration> | ||
<source></source> | <source></source> | ||
| − | === | + | ===DeleteData=== |
| − | + | Metoda '''DeleteData''' . | |
<declaration> | <declaration> | ||
| − | + | Method|TGrid.DeleteData | |
| − | |||
</declaration> | </declaration> | ||
<source></source> | <source></source> | ||
| − | === | + | ===ClearCache=== |
| − | + | Metoda '''ClearCache''' . | |
<declaration> | <declaration> | ||
| − | + | Method|TGrid.ClearCache | |
| − | |||
</declaration> | </declaration> | ||
<source></source> | <source></source> | ||
| − | == | + | ===Save=== |
| − | + | Metoda '''Save''' . | |
| − | Metoda ''' | ||
<declaration> | <declaration> | ||
| − | Method|TGrid. | + | Method|TGrid.Save |
</declaration> | </declaration> | ||
<source></source> | <source></source> | ||
Redakcija: 07:59, 2. april 2015
Ta stran je trenutno še v izdelavi.
Razred TGrid je namenjen delu z podatki v gridu.
Vsebina
Lastnosti grida
Te lastnosti nam vrnejo osnovne parametre grida določene v XML datoteki XML_struktura_grida.
OriginY
Lastnost OriginY .
| RO Property TGrid.OriginY As Float | ||
| Result | Float | . |
OriginX
Lastnost OriginX .
| RO Property TGrid.OriginX As Float | ||
| Result | Float | . |
CellDimenY
Lastnost CellDimenY .
| RO Property TGrid.CellDimenY As Float | ||
| Result | Float | . |
CellDimenX
Lastnost CellDimenX .
| RO Property TGrid.CellDimenX As Float | ||
| Result | Float | . |
CellCountY
Lastnost CellCountY .
| RO Property TGrid.CellCountY As Long | ||
| Result | Long | . |
CellCountX
Lastnost CellCountX .
| RO Property TGrid.CellCountX As Long | ||
| Result | Long | . |
TileCountX
Lastnost TileCountX .
| RO Property TGrid.TileCountX As Long | ||
| Result | Long | . |
TileCountY
Lastnost TileCountY .
| RO Property TGrid.TileCountY As Long | ||
| Result | Long | . |
TotalCellCountX
Lastnost TotalCellCountX .
| RO Property TGrid.TotalCellCountX As Long | ||
| Result | Long | . |
TotalCellCountY
Lastnost TotalCellCountY .
| RO Property TGrid.TotalCellCountY As Long | ||
| Result | Long | . |
Uporaba podatkov
CellValue
Lastnost CellValue .
| Property TGrid.CellValue (Y, X As Float, Index As Long) As Float | ||
| Y | Float | . |
| X | Float | . |
| Index | Long | . |
| Result | Float | . |
GetPointArrayContour
Metoda GetPointArrayContour .
| Method TGrid.GetPointArrayContour (P As TPointArray, Step As Float, Index As Long) | ||
| P | TPointArray | . |
| Step | Float | . |
| Index | Long | . |
GetPointArrayContourVP
Lastnost GetPointArrayContourVP .
| RO Property TGrid.GetPointArrayContourVP (P As TPointArray, Step As Float, Index As Long) As TPointArray | ||
| P | TPointArray | . |
| Step | Float | . |
| Index | Long | . |
| Result | TPointArray | . |
GetPointArrayNodes
Metoda GetPointArrayNodes .
| Method TGrid.GetPointArrayNodes (P As TPointArray, Index As Long) | ||
| P | TPointArray | . |
| Index | Long | . |
Uvoz podatkov
LoadXYZ
Metoda LoadXYZ .
| Method TGrid.LoadXYZ (Path, Mask, Options As String, Index As Long) | ||
| Path | String | . |
| Mask | String | . |
| Options | String | . |
| Index | Long | . |
DeleteData
Metoda DeleteData .
| Method TGrid.DeleteData |
ClearCache
Metoda ClearCache .
| Method TGrid.ClearCache |
Save
Metoda Save .
| Method TGrid.Save |