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