GET SOLID EXTENTS: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
Mikeo (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


{{Command|syntax=GET_SOLID_EXTENTS <solid number> <xmin> <ymin> <zmin> <xmax> <ymax> <zmax>
{{Command|syntax=GET_SOLID_EXTENTS <solid number> <xmin> <ymin> <zmin> <xmax> <ymax> <zmax>
|description=:
|description=:Get the extents (min/max) of a solid.


|param1=<solid number>|param1_desc={{solid number}}
|param1=<solid number>|param1_desc={{solid number}}
|param2=<xmin>|param2_desc={{xmin}}
|param2=<xmin>|param2_desc={{get_xmin}}
|param3=<ymin>|param3_desc={{ymin}}
|param3=<ymin>|param3_desc={{get_ymin}}
|param4=<zmin>|param4_desc={{zmin}}
|param4=<zmin>|param4_desc={{get_zmin}}
|param5=<xmax>|param5_desc={{xmax}}
|param5=<xmax>|param5_desc={{get_xmax}}
|param6=<ymax>|param6_desc={{ymax}}
|param6=<ymax>|param6_desc={{get_ymax}}
|param7=<zmax>|param7_desc={{zmax}}
|param7=<zmax>|param7_desc={{get_zmax}}
}}
}}


===Example===
===Example===
:GET_SOLID_EXTENTS
:GET_SOLID_EXTENTS 3, xmin, ymin, zmin, xmax, ymax, zmax
 
[[Category:Solids]]
[[Category:Solids]]

Latest revision as of 16:05, 17 January 2011

Up

Command

GET_SOLID_EXTENTS <solid number> <xmin> <ymin> <zmin> <xmax> <ymax> <zmax>


Get the extents (min/max) of a solid.

Parameters

<solid number>
Solid number.
<xmin>
The name of a numeric variable to be set to the minimum X value.
<ymin>
The name of a numeric variable to be set to the minimum Y value.
<zmin>
The name of a numeric variable to be set to the minimum Z value.
<xmax>
The name of a numeric variable to be set to the maximum X value.
<ymax>
The name of a numeric variable to be set to the maximum Y value.
<zmax>
The name of a numeric variable to be set to the maximum Z value.

Example

GET_SOLID_EXTENTS 3, xmin, ymin, zmin, xmax, ymax, zmax