Jump to content

API Panel.PCloud.SetGridFlat: Difference between revisions

From Flowcode Help
JonnyW (talk | contribs)
XML import
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead""
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<sidebar>API Contents</sidebar>
{| class="mtx-class-macrotable wikitable"
Sets the X,Y,Z point lists in a flat  height-map grid
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" class="mtx-class-macrohead" | '''SetGridFlat'''
|-
| colspan="2" | Sets the X,Y,Z point lists in a flat  height-map grid&nbsp;
|-
|-
| width="10%" align="center" | [[File:Fc9-h32-icon.png]] - HANDLE
| width="90%" | PCloud
|-
| colspan="2" | The handle to the cloud set the points of&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT[]
| width="90%" | Origin
|-
| colspan="2" | An (X,Y,Z) array to use as an offset for the generated grid&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT[]
| width="90%" | XStep
|-
| colspan="2" | An (X,Y,Z) array to increment the point for each X of the grid&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT[]
| width="90%" | YStep
|-
| colspan="2" | An (X,Y,Z) array to increment the point for each Y of the grid&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-u32-icon.png]] - ULONG
| width="90%" | GridWidth
|-
| colspan="2" | The X elements of the grid to calculate&nbsp;
|-
| 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''
|}


<div style="width:25%; float:right" class="toc">
====Class hierarchy====
[[API Panel|Panel]]
:[[API Panel.PCloud|PCloud]]
::[[API Panel.PCloud|SetGridFlat]]
</div>
__TOC__


==Parameters==
==Detailed description==
[[Variable Types|HANDLE]] ''PCloud''
:The handle to the cloud set the points of
 
[[Variable Types|FLOAT[]]] ''Origin''
:An (X,Y,Z) array to use as an offset for the generated grid
 
[[Variable Types|FLOAT[]]] ''XStep''
:An (X,Y,Z) array to increment the point for each X of the grid
 
[[Variable Types|FLOAT[]]] ''YStep''
:An (X,Y,Z) array to increment the point for each Y of the grid


[[Variable Types|ULONG]] ''GridWidth''
:The X elements of the grid to calculate
[[Variable Types|ULONG]] ''GridHeight''
:The Y elements of the grid to calculate
==Return value==
''This call does not return a value''
==Detailed description==
''<span style="color:red;">No additional information</span>''




Line 41: Line 49:
===Calling in a calculation===
===Calling in a calculation===
* Add to a calculation icon: <pre class="brush:[cpp]">::Panel.PCloud.SetGridFlat(pcloud, _arrayorigin, _arrayxstep, _arrayystep, gridwidth, gridheight)</pre>
* Add to a calculation icon: <pre class="brush:[cpp]">::Panel.PCloud.SetGridFlat(pcloud, _arrayorigin, _arrayxstep, _arrayystep, gridwidth, gridheight)</pre>
''<span style="color:red;">No additional examples</span>''

Latest revision as of 14:11, 13 July 2026

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


Detailed description

Examples

Calling in a calculation

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