BIS fnc boundingCircle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>")
 
(38 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma2oa
____________________________________________________________________________________________
|version1= 1.50


| arma2oa |= Game name
|game2= tkoh
|version2= 1.00


|1.00|= Game version
|game3= arma3
____________________________________________________________________________________________
|version3= 0.50


| <pre>
|gr1= Object Manipulation
/*
File: fn_boundingCircle.sqf


Description:
|descr= Returns size of bounding circle (calculated from X and Y coordinates). This is actually the 2D horizontal diagonal length of the [[boundingBox]].
Returns size of bounding circle (calculated from X and Y coordinates)


Parameter(s):
|s1= object call [[BIS_fnc_boundingCircle]]
_this: Object


Returns:
|p1= object: [[Object]]
Number
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|r1= [[Number]]
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_boundingCircle]]; --> |= Syntax
|x1= <sqf>vehicle player call BIS_fnc_boundingCircle;</sqf>
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|seealso= [[boundingBox]] [[boundingBoxReal]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Objects|{{uc:boundingCircle}}]]
[[Category:Functions|{{uc:boundingCircle}}]]
[[Category:{{Name|arma2oa}}: Functions|{{uc:boundingCircle}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:boundingCircle}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:boundingCircle}}]]

Latest revision as of 22:44, 12 July 2022

Hover & click on the images for description

Description

Description:
Returns size of bounding circle (calculated from X and Y coordinates). This is actually the 2D horizontal diagonal length of the boundingBox.
Execution:
call
Groups:
Object Manipulation

Syntax

Syntax:
object call BIS_fnc_boundingCircle
Parameters:
object: Object
Return Value:
Number

Examples

Example 1:
vehicle player call BIS_fnc_boundingCircle;

Additional Information

See also:
boundingBox boundingBoxReal

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note