Jump to content

API Panel.PCloud.SetGridEx: Difference between revisions

From Flowcode Help
JonnyW (talk | contribs)
XML import of API documentation
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead""
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="mtx-class-macrotable wikitable"
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" class="mtx-class-macrohead" | '''SetGridEx'''
|-
| colspan="2" | Sets the X,Y,Z point lists in a height-map grid 
|-
|-
| width="10%" align="center" | [[File:Fc9-h32-icon.png]] - HANDLE
| width="90%" | PCloud
|-
| colspan="2" | The handle to the cloud set the points of 
|-
| width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT[]
| width="90%" | X
|-
| colspan="2" | The array of X coordinates to use 
|-
| width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT[]
| width="90%" | Y
|-
| colspan="2" | The array of Y coordinates to use 
|-
| width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT[]
| width="90%" | Z
|-
| colspan="2" | The array of Z coordinates to use 
|-
| width="10%" align="center" | [[File:Fc9-u32-icon.png]] - ULONG
| width="90%" | OffsetInfo
|-
| colspan="2" | The offset and step to increment each axis in: 0xsszzyyxx 
|-
| width="10%" align="center" | [[File:Fc9-u32-icon.png]] - ULONG
| width="90%" | GridWidth
|-
| colspan="2" | The width of the grid to calculate 
|-
| width="10%" align="center" | [[File:Fc9-u32-icon.png]] - ULONG
| width="90%" | Elements
|-
| colspan="2" | The number of (X,Y,Z) points to set 
|-
| 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''
|}




<sidebar>API Contents</sidebar>
==Detailed description==
Sets the X,Y,Z point lists in a height-map grid
 
<div style="width:25%; float:right" class="toc">
====Class hierarchy====
[[API Panel|Panel]]
:[[API Panel.PCloud|PCloud]]
::[[API Panel.PCloud|SetGridEx]]
</div>
__TOC__
 
==Parameters==
[[Variable Types|HANDLE]] ''PCloud''
:The handle to the cloud set the points of
 
[[Variable Types|FLOAT[]]] ''X''
:The array of X coordinates to use
 
[[Variable Types|FLOAT[]]] ''Y''
:The array of Y coordinates to use
 
[[Variable Types|FLOAT[]]] ''Z''
:The array of Z coordinates to use
 
[[Variable Types|ULONG]] ''OffsetInfo''
:The offset and step to increment each axis in
:''The default value for this parameter is: '''''0'''
 
[[Variable Types|ULONG]] ''GridWidth''
:The width of the grid to calculate
 
[[Variable Types|ULONG]] ''Elements''
:The number of (X,Y,Z) points to set
 


==Return value==
''This call does not return a value''
==Detailed description==
''<span style="color:red;">No additional information</span>''




Line 47: Line 54:
===Calling in a calculation===
===Calling in a calculation===
* Add to a calculation icon: <pre class="brush:[cpp]">::Panel.PCloud.SetGridEx(pcloud, _arrayx, _arrayy, _arrayz, offsetinfo, gridwidth, elements)</pre>
* Add to a calculation icon: <pre class="brush:[cpp]">::Panel.PCloud.SetGridEx(pcloud, _arrayx, _arrayy, _arrayz, offsetinfo, gridwidth, elements)</pre>
''<span style="color:red;">No additional examples</span>''

Latest revision as of 14:11, 13 July 2026

SetGridEx
Sets the X,Y,Z point lists in a height-map grid 
- HANDLE PCloud
The handle to the cloud set the points of 
- FLOAT[] X
The array of X coordinates to use 
- FLOAT[] Y
The array of Y coordinates to use 
- FLOAT[] Z
The array of Z coordinates to use 
- ULONG OffsetInfo
The offset and step to increment each axis in: 0xsszzyyxx 
- ULONG GridWidth
The width of the grid to calculate 
- ULONG Elements
The number of (X,Y,Z) points to set 
- NONE Return


Detailed description

Examples

Calling in a calculation

  • Add to a calculation icon:
    ::Panel.PCloud.SetGridEx(pcloud, _arrayx, _arrayy, _arrayz, offsetinfo, gridwidth, elements)