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

Vector3
vec,

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