NestingConfig Constructor
Namespace: PCBI_PanelBuilderNesting.APIAssembly: PCBI.Nesting_Library (in PCBI.Nesting_Library.dll) Version: 17.0.0.0 (17.0.0.0)
public NestingConfig(
double spacing = 300,
double keepoutWidth = 600,
double keepoutHeight = 600,
double spaceToKeepouts = 400,
int rotations = 2,
double flatteningPrecision = 100,
double cleaningError = 4,
int copies = 1,
int mutation = 30,
int popsize = 10,
int maxtime = 30,
int maxgenerations = 25,
int returnNumberOfPlacings = 5,
bool minimalBounds = true
)
Public Sub New (
Optional spacing As Double = 300,
Optional keepoutWidth As Double = 600,
Optional keepoutHeight As Double = 600,
Optional spaceToKeepouts As Double = 400,
Optional rotations As Integer = 2,
Optional flatteningPrecision As Double = 100,
Optional cleaningError As Double = 4,
Optional copies As Integer = 1,
Optional mutation As Integer = 30,
Optional popsize As Integer = 10,
Optional maxtime As Integer = 30,
Optional maxgenerations As Integer = 25,
Optional returnNumberOfPlacings As Integer = 5,
Optional minimalBounds As Boolean = true
)
public:
NestingConfig(
double spacing = 300,
double keepoutWidth = 600,
double keepoutHeight = 600,
double spaceToKeepouts = 400,
int rotations = 2,
double flatteningPrecision = 100,
double cleaningError = 4,
int copies = 1,
int mutation = 30,
int popsize = 10,
int maxtime = 30,
int maxgenerations = 25,
int returnNumberOfPlacings = 5,
bool minimalBounds = true
)
new :
?spacing : float *
?keepoutWidth : float *
?keepoutHeight : float *
?spaceToKeepouts : float *
?rotations : int *
?flatteningPrecision : float *
?cleaningError : float *
?copies : int *
?mutation : int *
?popsize : int *
?maxtime : int *
?maxgenerations : int *
?returnNumberOfPlacings : int *
?minimalBounds : bool
(* Defaults:
let _spacing = defaultArg spacing 300
let _keepoutWidth = defaultArg keepoutWidth 600
let _keepoutHeight = defaultArg keepoutHeight 600
let _spaceToKeepouts = defaultArg spaceToKeepouts 400
let _rotations = defaultArg rotations 2
let _flatteningPrecision = defaultArg flatteningPrecision 100
let _cleaningError = defaultArg cleaningError 4
let _copies = defaultArg copies 1
let _mutation = defaultArg mutation 30
let _popsize = defaultArg popsize 10
let _maxtime = defaultArg maxtime 30
let _maxgenerations = defaultArg maxgenerations 25
let _returnNumberOfPlacings = defaultArg returnNumberOfPlacings 5
let _minimalBounds = defaultArg minimalBounds true
*)
-> NestingConfig
Parameters
- spacing Double (Optional)
-
- keepoutWidth Double (Optional)
-
- keepoutHeight Double (Optional)
-
- spaceToKeepouts Double (Optional)
-
- rotations Int32 (Optional)
-
- flatteningPrecision Double (Optional)
-
- cleaningError Double (Optional)
-
- copies Int32 (Optional)
-
- mutation Int32 (Optional)
-
- popsize Int32 (Optional)
-
- maxtime Int32 (Optional)
-
- maxgenerations Int32 (Optional)
-
- returnNumberOfPlacings Int32 (Optional)
-
- minimalBounds Boolean (Optional)
-