Difference between revisions of "API Panel.PCloud.SetGridFlat"

From Flowcode Help
Jump to navigationJump to search
(XML import)
Line 1: Line 1:
<sidebar>API Contents</sidebar>
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
Sets the X,Y,Z point lists in a flat  height-map grid
+
|-
 
+
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
<div style="width:25%; float:right" class="toc">
+
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetGridFlat'''
====Class hierarchy====
+
|-
[[API Panel|Panel]]
+
| colspan="2" | Sets the X,Y,Z point lists in a flat  height-map grid&nbsp;
:[[API Panel.PCloud|PCloud]]
+
|-
::[[API Panel.PCloud|SetGridFlat]]
+
|-
</div>
+
| width="10%" align="center" | [[File:Fc9-h32-icon.png]] - HANDLE
__TOC__
+
| width="90%" | PCloud
 
+
|-
==Parameters==
+
| colspan="2" | The handle to the cloud set the points of&nbsp;
[[Variable Types|HANDLE]] ''PCloud''
+
|-
:The handle to the cloud set the points of
+
| width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT[]
 
+
| width="90%" | Origin
[[Variable Types|FLOAT[]]] ''Origin''
+
|-
:An (X,Y,Z) array to use as an offset for the generated grid
+
| colspan="2" | An (X,Y,Z) array to use as an offset for the generated grid&nbsp;
 
+
|-
[[Variable Types|FLOAT[]]] ''XStep''
+
| width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT[]
:An (X,Y,Z) array to increment the point for each X of the grid
+
| width="90%" | XStep
 
+
|-
[[Variable Types|FLOAT[]]] ''YStep''
+
| colspan="2" | An (X,Y,Z) array to increment the point for each X of the grid&nbsp;
:An (X,Y,Z) array to increment the point for each Y of the grid
+
|-
 
+
| width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT[]
[[Variable Types|ULONG]] ''GridWidth''
+
| width="90%" | YStep
:The X elements of the grid to calculate
+
|-
 
+
| colspan="2" | An (X,Y,Z) array to increment the point for each Y of the grid&nbsp;
[[Variable Types|ULONG]] ''GridHeight''
+
|-
:The Y elements of the grid to calculate
+
| width="10%" align="center" | [[File:Fc9-u32-icon.png]] - ULONG
 
+
| width="90%" | GridWidth
 
+
|-
==Return value==
+
| colspan="2" | The X elements of the grid to calculate&nbsp;
''This call does not return a value''
+
|-
 +
| width="10%" align="center" | [[File:Fc9-u32-icon.png]] - ULONG
 +
| width="90%" | GridHeight
 +
|-
 +
| colspan="2" | The Y elements of the grid to calculate&nbsp;
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - NONE
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
  

Revision as of 11:41, 16 January 2023

Fc9-comp-macro.png SetGridFlat
Sets the X,Y,Z point lists in a flat height-map grid 
Fc9-h32-icon.png - HANDLE PCloud
The handle to the cloud set the points of 
Fc9-f32-icon.png - FLOAT[] Origin
An (X,Y,Z) array to use as an offset for the generated grid 
Fc9-f32-icon.png - FLOAT[] XStep
An (X,Y,Z) array to increment the point for each X of the grid 
Fc9-f32-icon.png - FLOAT[] YStep
An (X,Y,Z) array to increment the point for each Y of the grid 
Fc9-u32-icon.png - ULONG GridWidth
The X elements of the grid to calculate 
Fc9-u32-icon.png - ULONG GridHeight
The Y elements of the grid to calculate 
Fc9-void-icon.png - NONE Return


Detailed description

No additional information


Examples

Calling in a calculation

  • Add to a calculation icon:
    ::Panel.PCloud.SetGridFlat(pcloud, _arrayorigin, _arrayxstep, _arrayystep, gridwidth, gridheight)

No additional examples