/// <summary> /// Returns true if Location instances are equal /// </summary> /// <param name="other">Instance of Location to be compared</param> /// <returns>Boolean</returns> public bool Equals(Location other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( UserRef == other.UserRef || UserRef != null && UserRef.Equals(other.UserRef) ) && ( Yaw == other.Yaw || Yaw != null && Yaw.Equals(other.Yaw) ) && ( Position == other.Position || Position != null && Position.Equals(other.Position) ) && ( Timestamp == other.Timestamp || Timestamp != null && Timestamp.Equals(other.Timestamp) )); }
public bool Equals(Euler3 other) => Yaw.Equals(other.Yaw) && Pitch.Equals(other.Pitch) && Roll.Equals(other.Roll);
protected bool Equals(HeadPoseData other) { return(X.Equals(other.X) && Y.Equals(other.Y) && Z.Equals(other.Z) && Yaw.Equals(other.Yaw) && Pitch.Equals(other.Pitch) && Roll.Equals(other.Roll)); }
public bool Equals(RealEulerAngles3d other) => Yaw.Equals(other.Yaw) && Pitch.Equals(other.Pitch) && Roll.Equals(other.Roll);
protected bool Equals(Rotation other) { return(Roll.Equals(other.Roll) && Yaw.Equals(other.Yaw) && Pitch.Equals(other.Pitch)); }
public bool Equals(RealEulerAngles2d other) => Yaw.Equals(other.Yaw) && Pitch.Equals(other.Pitch);
public bool Equals(Euler2 other) => Yaw.Equals(other.Yaw) && Pitch.Equals(other.Pitch);