TrianglesInSpace.Motion.LinearMotion.Equals C# (CSharp) Method

Equals() public method

public Equals ( LinearMotion other ) : bool
other LinearMotion
return bool
        public bool Equals(LinearMotion other)
        {
            if (ReferenceEquals(null, other))
            {
                return false;
            }
            if (ReferenceEquals(this, other))
            {
                return true;
            }
            return other.m_Velocity.Equals(m_Velocity)
                    && other.m_StartTime == m_StartTime
                    && other.m_InitialPosition.Equals(m_InitialPosition);
        }

Same methods

LinearMotion::Equals ( object obj ) : bool