OpenMetaverse Protocol Library Developers API Documentation
ApproxEquals Method (vec, tolerance)
NamespacesOpenMetaverseVector3dApproxEquals(Vector3d, Double)
Test if this vector is equal to another vector, within a given tolerance range
Declaration Syntax
C#
public 
bool 
ApproxEquals(
        
Vector3d 
vec,
        
double 
tolerance
)
Parameters
vec ( Vector3d)
Vector to test against
tolerance ( Double)
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