public Orthotope1Double(Vector1Double start, Vector1Double end) { this.rangeX = new OrderedRange <double>(start.X, end.X); }
public bool Contains(Vector1Double vector) { return(rangeX.Contains(vector.X)); }
public static Orthotope1Double CreateFromCenter(Vector1Double center, Vector1Double size) { return(new Orthotope1Double(center - 0.5 * size, center + 0.5 * size)); }