TGrid: Razlika med redakcijama

Iz SDMS
Jump to navigationJump to search
m
m
Vrstica 1: Vrstica 1:
 
{{Work}}
 
{{Work}}
Razred '''TGrid''' je namenjen .
+
Razred '''TGrid''' je namenjen delu z podatki v gridu.
  
===FileName===
+
===Lastnosti grida===
Lastnost '''FileName''' .
+
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.FileName
+
RO Property|TGrid.OriginY
Result|String|.
+
Result|Float|.
 
</declaration>
 
</declaration>
 
<source></source>
 
<source></source>
  
===CellSize===
+
===OriginX===
Lastnost '''CellSize''' .
+
Lastnost '''OriginX''' .
 
<declaration>
 
<declaration>
RO Property|TGrid.CellSize
+
RO Property|TGrid.OriginX
 
Result|Float|.
 
Result|Float|.
 
</declaration>
 
</declaration>
 
<source></source>
 
<source></source>
  
===Cols===
+
===CellDimenY===
Lastnost '''Cols''' .
+
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.Cols
+
RO Property|TGrid.TileCountX
 
Result|Long|.
 
Result|Long|.
 
</declaration>
 
</declaration>
 
<source></source>
 
<source></source>
  
===Rows===
+
===TileCountY===
Lastnost '''Rows''' .
+
Lastnost '''TileCountY''' .
 
<declaration>
 
<declaration>
RO Property|TGrid.Rows
+
RO Property|TGrid.TileCountY
 
Result|Long|.
 
Result|Long|.
 
</declaration>
 
</declaration>
 
<source></source>
 
<source></source>
  
===Height===
+
===TotalCellCountX===
Lastnost '''Height''' .
+
Lastnost '''TotalCellCountX''' .
 
<declaration>
 
<declaration>
Property|TGrid.Height
+
RO Property|TGrid.TotalCellCountX
Row|Long|.
+
Result|Long|.
Col|Long|.
 
Result|Float|.
 
 
</declaration>
 
</declaration>
 
<source></source>
 
<source></source>
  
===HeightCoor===
+
===TotalCellCountY===
Lastnost '''HeightCoor''' .
+
Lastnost '''TotalCellCountY''' .
 
<declaration>
 
<declaration>
Property|TGrid.HeightCoor
+
RO Property|TGrid.TotalCellCountY
Y|Float|.
+
Result|Long|.
X|Float|.
 
Result|Float|.
 
 
</declaration>
 
</declaration>
 
<source></source>
 
<source></source>
  
===Load===
+
===Uporaba podatkov===
Metoda '''Load''' .
+
 
 +
===CellValue===
 +
Lastnost '''CellValue''' .
 
<declaration>
 
<declaration>
Method|TGrid.Load
+
Property|TGrid.CellValue
FileName|String|.
+
Y|Float|.
 +
X|Float|.
 +
Index|Long|.
 +
Result|Float|.
 
</declaration>
 
</declaration>
 
<source></source>
 
<source></source>
  
===Save===
+
===GetPointArrayContour===
Metoda '''Save''' .
+
Metoda '''GetPointArrayContour''' .
 
<declaration>
 
<declaration>
Method|TGrid.Save
+
Method|TGrid.GetPointArrayContour
FileName|String|.
+
P|TPointArray|.
 +
Step|Float|.
 +
Index|Long|.
 
</declaration>
 
</declaration>
 
<source></source>
 
<source></source>
  
===SetLocation===
+
===GetPointArrayContourVP===
Metoda '''SetLocation''' .
+
Lastnost '''GetPointArrayContourVP''' .
 
<declaration>
 
<declaration>
Method|TGrid.SetLocation
+
RO Property|TGrid.GetPointArrayContourVP
YBL|Float|.
+
P|TPointArray|.
XBL|Float|.
+
Step|Float|.
CellSize|Float|.
+
Index|Long|.
Rows|Long|.
+
Result|TPointArray|.
Cols|Long|.
 
 
</declaration>
 
</declaration>
 
<source></source>
 
<source></source>
  
===X1===
+
===GetPointArrayNodes===
Lastnost '''X1''' .
+
Metoda '''GetPointArrayNodes''' .
 
<declaration>
 
<declaration>
RO Property|TGrid.X1
+
Method|TGrid.GetPointArrayNodes
Result|Float|.
+
P|TPointArray|.
 +
Index|Long|.
 
</declaration>
 
</declaration>
 
<source></source>
 
<source></source>
  
===X2===
+
==Uvoz podatkov==
Lastnost '''X2''' .
+
===LoadXYZ===
 +
Metoda '''LoadXYZ''' .
 
<declaration>
 
<declaration>
RO Property|TGrid.X2
+
Method|TGrid.LoadXYZ
Result|Float|.
+
Path|String|.
 +
Mask|String|.
 +
Options|String|.
 +
Index|Long|.
 
</declaration>
 
</declaration>
 
<source></source>
 
<source></source>
  
===Y1===
+
===DeleteData===
Lastnost '''Y1''' .
+
Metoda '''DeleteData''' .
 
<declaration>
 
<declaration>
RO Property|TGrid.Y1
+
Method|TGrid.DeleteData
Result|Float|.
 
 
</declaration>
 
</declaration>
 
<source></source>
 
<source></source>
  
===Y2===
+
===ClearCache===
Lastnost '''Y2''' .
+
Metoda '''ClearCache''' .
 
<declaration>
 
<declaration>
RO Property|TGrid.Y2
+
Method|TGrid.ClearCache
Result|Float|.
 
 
</declaration>
 
</declaration>
 
<source></source>
 
<source></source>
  
==Opuščeno==
+
===Save===
===Destroy===
+
Metoda '''Save''' .
Metoda '''Destroy''' .
 
 
<declaration>
 
<declaration>
Method|TGrid.Destroy
+
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.

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
ResultFloat.

OriginX

Lastnost OriginX .

RO Property TGrid.OriginX As Float
ResultFloat.

CellDimenY

Lastnost CellDimenY .

RO Property TGrid.CellDimenY As Float
ResultFloat.

CellDimenX

Lastnost CellDimenX .

RO Property TGrid.CellDimenX As Float
ResultFloat.

CellCountY

Lastnost CellCountY .

RO Property TGrid.CellCountY As Long
ResultLong.

CellCountX

Lastnost CellCountX .

RO Property TGrid.CellCountX As Long
ResultLong.

TileCountX

Lastnost TileCountX .

RO Property TGrid.TileCountX As Long
ResultLong.

TileCountY

Lastnost TileCountY .

RO Property TGrid.TileCountY As Long
ResultLong.

TotalCellCountX

Lastnost TotalCellCountX .

RO Property TGrid.TotalCellCountX As Long
ResultLong.

TotalCellCountY

Lastnost TotalCellCountY .

RO Property TGrid.TotalCellCountY As Long
ResultLong.

Uporaba podatkov

CellValue

Lastnost CellValue .

Property TGrid.CellValue (Y, X As Float, Index As Long) As Float
YFloat.
XFloat.
IndexLong.
ResultFloat.

GetPointArrayContour

Metoda GetPointArrayContour .

Method TGrid.GetPointArrayContour (P As TPointArray, Step As Float, Index As Long)
PTPointArray.
StepFloat.
IndexLong.

GetPointArrayContourVP

Lastnost GetPointArrayContourVP .

RO Property TGrid.GetPointArrayContourVP (P As TPointArray, Step As Float, Index As Long) As TPointArray
PTPointArray.
StepFloat.
IndexLong.
ResultTPointArray.

GetPointArrayNodes

Metoda GetPointArrayNodes .

Method TGrid.GetPointArrayNodes (P As TPointArray, Index As Long)
PTPointArray.
IndexLong.

Uvoz podatkov

LoadXYZ

Metoda LoadXYZ .

Method TGrid.LoadXYZ (Path, Mask, Options As String, Index As Long)
PathString.
MaskString.
OptionsString.
IndexLong.

DeleteData

Metoda DeleteData .

Method TGrid.DeleteData

ClearCache

Metoda ClearCache .

Method TGrid.ClearCache

Save

Metoda Save .

Method TGrid.Save