BIS fnc boundingCircle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *arma2oa * +\| *1.([0-9]{2}) * *\|([^g]|g[^a])" to "| arma2oa |1.$1 |game2= tkoh |version2= 1.00 |game3= arma3 |version3= 0.50 |$2")
m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>")
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma2oa
|game1= arma2oa
|1.50
|version1= 1.50


|game2= tkoh
|game2= tkoh
Line 12: Line 12:
|gr1= Object Manipulation
|gr1= Object Manipulation


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


| object call [[BIS_fnc_boundingCircle]]
|s1= object call [[BIS_fnc_boundingCircle]]


|p1= object: [[Object]]
|p1= object: [[Object]]
Line 20: Line 20:
|r1= [[Number]]
|r1= [[Number]]


|x1= <code>[[vehicle]] [[player]] [[call]] [[BIS_fnc_boundingCircle]];</code>
|x1= <sqf>vehicle player call BIS_fnc_boundingCircle;</sqf>


|seealso= [[boundingBox]], [[boundingBoxReal]]
|seealso= [[boundingBox]] [[boundingBoxReal]]
}}
}}
[[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