BIS fnc boundingCircle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
Line 1: Line 1:
{{Function|Comments=
{{Function


| arma2oa |Game name=
| arma2oa


|1.00|Game version=
|1.00


|gr1 = Object Manipulation |GROUP1=
|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]]. |DESCRIPTION=
| 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]] |SYNTAX=
| object call [[BIS_fnc_boundingCircle]]


|p1= object: [[Object]] |PARAMETER1=
|p1= object: [[Object]]


| [[Number]] |RETURNVALUE=
| [[Number]]


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


| [[boundingBox]], [[boundingBoxReal]] |SEEALSO=
| [[boundingBox]], [[boundingBoxReal]]
}}
}}



Revision as of 23:35, 17 January 2021

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:
boundingBoxboundingBoxReal

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


Bottom Section