BIS fnc isEqualVector: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - " |exec= call " to " ") |
Lou Montana (talk | contribs) m (Text replacement - ";{{cc|" to "; {{cc|") |
||
Line 19: | Line 19: | ||
|r1= [[Boolean]] - Returns [[true]] if in tolerance, otherwise [[false]] | |r1= [[Boolean]] - Returns [[true]] if in tolerance, otherwise [[false]] | ||
|x1= <code><nowiki>[</nowiki>[1,1,1],[2,2,2],1] [[call]] [[BIS_fnc_isEqualVector]];{{cc|Returns [[true]]}}</code> | |x1= <code><nowiki>[</nowiki>[1,1,1],[2,2,2],1] [[call]] [[BIS_fnc_isEqualVector]]; {{cc|Returns [[true]]}}</code> | ||
|seealso= [[isEqualTo]] [[isEqualTypeAny]] | |seealso= [[isEqualTo]] [[isEqualTypeAny]] | ||
}} | }} |
Revision as of 14:37, 16 February 2021
Description
- Description:
- Checks whether two vectors are equal with given tolerance.
- Execution:
- call
- Groups:
- Vectors
Syntax
- Syntax:
- [vector1, vector2, tolerance] call BIS_fnc_isEqualVector
- Parameters:
- vector1: Array - Vector 1
- vector2: Array - Vector 2
- tolerance: Number - The tolerance
- Return Value:
- Boolean - Returns true if in tolerance, otherwise false
Examples
- Example 1:
[[1,1,1],[2,2,2],1] call BIS_fnc_isEqualVector; // Returns true
Additional Information
- See also:
- isEqualTo isEqualTypeAny
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