OpenMetaverse Protocol Library Developers API Documentation
ApproxEquals Method (vec, tolerance)
NamespacesOpenMetaverseVector4ApproxEquals(Vector4, Single)
Test if this vector is equal to another vector, within a given tolerance range
Declaration Syntax
C#
public
bool
ApproxEquals(

Vector4
vec,

float
tolerance
)
Parameters
vec ( Vector4)
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