Elements/src/Geometry/Arc.cs
/// <summary>
/// Return the arc which is the complement of this arc.
/// </summary>
Return the arc which is the complement of this arc.
Return the arc which is the complement of this arc .
public Arc Complement()
        {
            var complementSpan = 360.0 - (this.EndAngle - this.StartAngle);
            var newEnd = this.StartAngle;
            var newStart = this.EndAngle;
            if (newStart > newEnd)
            {
                newStart = newStart - 360.0;
            }
            return new Arc(this.Center, this.Radius, newStart, newEnd);
        }
public Arc Complement ( ) { var complementSpan = 360.0 - ( this . EndAngle - this . StartAngle ) ; var newEnd = this . StartAngle ; var newStart = this . EndAngle ; if ( newStart > newEnd ) { newStart = newStart - 360.0 ; } return new Arc ( this . Center , this . Radius , newStart , newEnd ) ; }
Return the arc which is the complement of this arc.
Return the arc which is the complement of this arc .