OpenMetaverse Protocol Library Developers API Documentation
ApproxEquals Method (vec, tolerance)
NamespacesOpenMetaverseVector2ApproxEquals(Vector2, Single)
Test if this vector is equal to another vector, within a given tolerance range
Declaration Syntax
C#
public 
bool 
ApproxEquals(
        
Vector2 
vec,
        
float 
tolerance
)
Parameters
vec ( Vector2)
Vector to test against
tolerance ( Single)
The acceptable magnitude of difference between the two vectors
Return Value
True if the magnitude of difference between the two vectors is less than the given tolerance, otherwise false

Assembly: OpenMetaverseTypes(Module: OpenMetaverseTypes.dll) Version: 0.0.0.0