コード例 #1
0
        public ParamSetPackOptim(
            int noBoxes
            , Vector3D caseLimitMin, Vector3D caseLimitMax
            , bool forceVerticalCaseOrientation
            , bool hasWrapper, Color wrapperColor, int[] noWrapperWalls, double wrapperThickness, double wrapperSurfMass, PackWrapper.WType wType
            , bool hasTray, Color trayColor, int[] noTrayWalls, double trayThickness, double traySurfMass, double trayHeight
            )
        {
            NoBoxes      = noBoxes;
            CaseLimitMin = caseLimitMin;
            CaseLimitMax = caseLimitMax;
            ForceVerticalcaseOrientation = forceVerticalCaseOrientation;

            HasWrapper       = hasWrapper;
            WrapperType      = wType;
            NoWrapperWalls   = noWrapperWalls;
            WrapperThickness = wrapperThickness;
            WrapperSurfMass  = wrapperSurfMass;
            WrapperColor     = wrapperColor;

            HasTray       = hasTray;
            TrayHeight    = trayHeight;
            NoTrayWalls   = noTrayWalls;
            TrayThickness = trayThickness;
            TraySurfMass  = traySurfMass;
            TrayColor     = trayColor;
        }
コード例 #2
0
 public ParamSetPackOptim(
     int noBoxes
     , Vector3D caseLimitMin, Vector3D caseLimitMax
     , bool forceVerticalCaseOrientation
     , PackWrapper.WType wType
     , int[] noWalls
     , double wallThickness, double wallSurfaceMass
     , double trayHeight
     )
 {
     NoBoxes         = noBoxes;
     NoWalls         = noWalls;
     WallThickness   = wallThickness;
     WallSurfaceMass = wallSurfaceMass;
     CaseLimitMin    = caseLimitMin;
     CaseLimitMax    = caseLimitMax;
     ForceVerticalcaseOrientation = forceVerticalCaseOrientation;
     _trayHeight = trayHeight;
     _wType      = wType;
 }