public Cuboid(Point3D topLeft, Point3D bottomRight) { this.RangeX = new RangeFloat(topLeft.X, bottomRight.X); this.RangeY = new RangeFloat(topLeft.Y, bottomRight.Y); this.RangeZ = new RangeFloat(topLeft.Z, bottomRight.Z); }
public Cuboid(RangeFloat x, RangeFloat y, RangeFloat z) { this.RangeX = x; this.RangeY = y; this.RangeZ = z; }