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

From Flowcode Help
Jump to navigationJump to search
(XML import)
 
(One intermediate revision by the same user not shown)
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 height-map grid
+
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetGrid'''
 +
|-
 +
| colspan="2" | Sets the X,Y,Z point lists in a height-map grid&nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-h32-icon.png]] - HANDLE
 +
| width="90%" | PCloud
 +
|-
 +
| colspan="2" | The handle to the cloud to set the points of&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT[]
 +
| width="90%" | XYZ
 +
|-
 +
| colspan="2" | The array of (X,Y,Z) coordinates to use, arrayed as a grid&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-u32-icon.png]] - ULONG
 +
| width="90%" | GridWidth
 +
|-
 +
| colspan="2" | The width of the grid to calculate&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-u32-icon.png]] - ULONG
 +
| width="90%" | Elements
 +
|-
 +
| colspan="2" | The number of (X,Y,Z) points to set&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|SetGrid]]
 
</div>
 
__TOC__
 
  
==Parameters==
+
==Detailed description==
[[Variable Types|HANDLE]] ''PCloud''
 
:The handle to the cloud to set the points of
 
  
[[Variable Types|FLOAT[]]] ''XYZ''
 
:The array of (X,Y,Z) coordinates to use, arrayed as a grid
 
 
[[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 35: Line 39:
 
===Calling in a calculation===
 
===Calling in a calculation===
 
* Add to a calculation icon: <pre class="brush:[cpp]">::Panel.PCloud.SetGrid(pcloud, _arrayxyz, gridwidth, elements)</pre>
 
* Add to a calculation icon: <pre class="brush:[cpp]">::Panel.PCloud.SetGrid(pcloud, _arrayxyz, gridwidth, elements)</pre>
 
''<span style="color:red;">No additional examples</span>''
 

Latest revision as of 11:54, 16 January 2023

Fc9-comp-macro.png SetGrid
Sets the X,Y,Z point lists in a height-map grid 
Fc9-h32-icon.png - HANDLE PCloud
The handle to the cloud to set the points of 
Fc9-f32-icon.png - FLOAT[] XYZ
The array of (X,Y,Z) coordinates to use, arrayed as a grid 
Fc9-u32-icon.png - ULONG GridWidth
The width of the grid to calculate 
Fc9-u32-icon.png - ULONG Elements
The number of (X,Y,Z) points to set 
Fc9-void-icon.png - NONE Return


Detailed description

Examples

Calling in a calculation

  • Add to a calculation icon:
    ::Panel.PCloud.SetGrid(pcloud, _arrayxyz, gridwidth, elements)