Jump to content

API Panel.PCloud.SetGridFlat

From Flowcode Help
Revision as of 14:07, 13 July 2026 by SteveT (talk | contribs) (Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable"")
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)