コード例 #1
0
 public WedgeUnbound(Point c, double rangeStart, double rangeEnd)
 {
     Center  = c;
     Degrees = new RangeCircular(rangeStart, rangeEnd, Circle.DEGREES_IN_CIRCLE);
 }
コード例 #2
0
 public Wedge(Circle c, RangeCircular r) : base(c.Center, r)
 {
     Radius = c.Radius;
 }
コード例 #3
0
 public WedgeUnbound(Point c, RangeCircular r)
 {
     Center  = c;
     Degrees = r;
 }
コード例 #4
0
 public bool Overlaps(RangeCircular b)
 {
     return(this.Overlaps(b.Start) || this.Overlaps(b.End) || b.Overlaps(this.Start) || b.Overlaps(this.End));
 }