PurplePen.PointCourseObj.Equals C# (CSharp) Method

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool
        public override bool Equals(object obj)
        {
            if (obj == null || GetType() != obj.GetType()) {
                return false;
            }

            PointCourseObj other = (PointCourseObj) obj;

            if (other.gaps != gaps || other.orientation != orientation || other.location != location || other.radius != radius)
                return false;

            return base.Equals(obj);
        }