public bool Equals(CubicBezierCurve3D other) { return(P0.Equals(other.P0) && P1.Equals(other.P1) && P2.Equals(other.P2) && P3.Equals(other.P3)); }
public bool Equals(Range3Single other) { return(P0.Equals(other.P0) && P1.Equals(other.P1)); }
/// <summary> /// Returns <c>true</c> if <c>other</c> is /// topologically equal to this LineSegment (e.g. irrespective /// of orientation). /// </summary> /// <param name="other"> /// A <c>LineSegment</c> with which to do the comparison. /// </param> /// <returns> /// <c>true</c> if <c>other</c> is a <c>LineSegment</c> /// with the same values for the x and y ordinates. /// </returns> public bool EqualsTopologically(LineSegment other) { return (P0.Equals(other.P0) && P1.Equals(other.P1) || P0.Equals(other.P1) && P1.Equals(other.P0)); }
public bool Equals(QuadraticBezierCurve3D other) { return(P0.Equals(other.P0) && P1.Equals(other.P1) && P2.Equals(other.P2)); }
public override bool Equals(object obj) { return(obj is Line l && ((P1.Equals(l.P1) && P0.Equals(l.P0)) || (P1.Equals(l.P0) && P0.Equals(l.P1)))); }