Example #1
0
 /// <summary>
 /// Initializes box with specified dimensions and orientation defined by rotation object.
 /// </summary>
 /// <param name="center">Center point of the box.</param>
 /// <param name="lx">First dimension.</param>
 /// <param name="ly">Second dimension.</param>
 /// <param name="lz">Third dimension.</param>
 /// <param name="r">Orientation of the box, defined as rotation from axis aligned position (in global CS) to final position.</param>
 public Box3d(Point3d center, double lx, double ly, double lz, Rotation r)
 {
     _center = center.Copy();
     _lx     = lx;
     _ly     = ly;
     _lz     = lz;
     _r      = r.Copy();
 }