Exemplo n.º 1
0
 /// <summary>
 /// verify is this cs is equals to otherByLayer ( same origin, x, y, z base vectors )
 /// </summary>
 /// <param name="tol">calc tolerance ( for origin check )</param>
 /// <param name="other">cs to check equality against</param>
 /// <returns>true if this cs equals the given on, false otherwise</returns>
 /// <remarks>
 /// [unit test](/test/Vector3D/Vector3DTest_0001.cs)
 /// </remarks>
 public bool Equals(double tol, CoordinateSystem3D other)
 {
     return(Origin.EqualsTol(tol, other.Origin) &&
            BaseX.EqualsTol(tol, other.BaseX) &&
            BaseY.EqualsTol(tol, other.BaseY) &&
            BaseZ.EqualsTol(tol, other.BaseZ));
 }