/// 含有判定
 /// @param point 判定対象のPoint
 /// @return 含有しているか
 /// @todo(me) 浮動小数点数の比較
 public bool Contains(DoublePoint point)
 {
     return this.X <= point.X && point.X <= this.Right &&
        this.Y <= point.Y && point.Y <= this.Bottom;
 }
Пример #2
0
 /// 含有判定
 /// @param point 判定対象のPoint
 /// @return 含有しているか
 /// @todo(me) 浮動小数点数の比較
 public bool Contains(DoublePoint point)
 {
     return(this.X <= point.X && point.X <= this.Right &&
            this.Y <= point.Y && point.Y <= this.Bottom);
 }