// // If it's on the circle and not in the minor arc, it's in the major arc. // public static bool BetweenMajor(Point m, Arc originalArc) { if (originalArc.HasEndpoint(m)) { return(true); } if (m == null) { return(false); } // Is the point on this circle? if (!originalArc.theCircle.PointLiesOn(m)) { return(false); } // Is it on the arc minor? if (BetweenMinor(m, originalArc)) { return(false); } return(true); }
public static bool StrictlyBetweenMajor(Point m, Arc originalArc) { if (m == null) { return(false); } if (originalArc.HasEndpoint(m)) { return(false); } return(BetweenMajor(m, originalArc)); }
public static bool StrictlyBetweenMinor(Point m, Arc originalArc) { if (m == null) return false; if (originalArc.HasEndpoint(m)) return false; return BetweenMinor(m, originalArc); }
// // If it's on the circle and not in the minor arc, it's in the major arc. // public static bool BetweenMajor(Point m, Arc originalArc) { if (originalArc.HasEndpoint(m)) return true; if (m == null) return false; // Is the point on this circle? if (!originalArc.theCircle.PointLiesOn(m)) return false; // Is it on the arc minor? if (BetweenMinor(m, originalArc)) return false; return true; }
public bool Covers(Arc that) { return that.HasEndpoint(this.Point1) && that.HasEndpoint(this.Point2); }
public bool Covers(Arc that) { return(that.HasEndpoint(this.Point1) && that.HasEndpoint(this.Point2)); }