public bool DoesFits(IEnvelope envelope)
 {
     return
         (this.GetMaxSide() >= envelope.GetMaxSide() &&
          this.GetMinSide() >= envelope.GetMinSide());
 }
示例#2
0
        public bool DoesFits(IEnvelope envelope)
        {
            double expectedCircleSize = Math.Sqrt(Math.Pow(envelope.GetMinSide(), Degree) + Math.Pow(envelope.GetMaxSide(), Degree)) / Denominator;

            return(Radius >= expectedCircleSize);
        }