Hide menu
Loading...
Searching...
No Matches
cadex.Nesting_ComputerParameters Class Reference

Defines parameters used in nesting process. More...

Inherits global.SystemIDisposable.

Public Member Functions

 Nesting_ComputerParameters (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Dispose ()
 
 Nesting_ComputerParameters ()
 Constructor.
 
uint IterationCount ()
 
void SetIterationCount (uint theIterationCount)
 
uint GenerationSize ()
 
void SetGenerationSize (uint theGenerationSize)
 
double MutationRate ()
 
void SetMutationRate (double theMutationRate)
 
double CurveTolerance ()
 
void SetCurveTolerance (double theCurveTolerance)
 
double PartToPartDistance ()
 
void SetPartToPartDistance (double thePartToPartDistance)
 
double PartToSheetBoundaryDistance ()
 
void SetPartToSheetBoundaryDistance (double thePartToSheetBoundaryDistance)
 
bool NestingInHoles ()
 
void SetNestingInHoles (bool theIsNestingInHole)
 
bool MirrorControl ()
 
void SetMirrorControl (bool theIsMirrorControl)
 
uint RotationCount ()
 
void SetRotationCount (uint theRotationCount)
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Detailed Description

Defines parameters used in nesting process.

Examples
nesting/nesting_computer/Program.cs, and nesting/nesting_computer/main.cxx.

Constructor & Destructor Documentation

◆ Nesting_ComputerParameters()

cadex.Nesting_ComputerParameters.Nesting_ComputerParameters ( )
inline

Constructor.

Sets default parameter values.

Member Function Documentation

◆ CurveTolerance()

double cadex.Nesting_ComputerParameters.CurveTolerance ( )
inline

Returns curve tolerance used to build polygons for geentic algorithm.

The default value is 0.5.

See also
SetCurveTolerance()

◆ GenerationSize()

uint cadex.Nesting_ComputerParameters.GenerationSize ( )
inline

Returns generation size used in genetic algorithm.

The default value is 5.

See also
SetGenerationSize()

◆ IterationCount()

uint cadex.Nesting_ComputerParameters.IterationCount ( )
inline

Returns iteration count of genetic algorithm.

The default value is 5.

See also
SetIterationCount()

◆ MirrorControl()

bool cadex.Nesting_ComputerParameters.MirrorControl ( )
inline

Returns whether mirror transformation could be applied in nesting process or not.

The default value is false.

See also
SetMirrorControl()

◆ MutationRate()

double cadex.Nesting_ComputerParameters.MutationRate ( )
inline

Returns mutation rate used in genetic algorithm.

The default value is 0.

See also
SetMutationRate()

◆ NestingInHoles()

bool cadex.Nesting_ComputerParameters.NestingInHoles ( )
inline

Returns whether parts can be nested in holes of other parts.

The default value is false.

See also
SetNestingInHole()

◆ PartToPartDistance()

double cadex.Nesting_ComputerParameters.PartToPartDistance ( )
inline

Returns part to part distance in mm. Used to indent parts from each other.

The default value is 0.

See also
SetPartToPartDistance()

◆ PartToSheetBoundaryDistance()

double cadex.Nesting_ComputerParameters.PartToSheetBoundaryDistance ( )
inline

Returns part to sheet boundary distance in mm. Used to indent parts from sheet boundary.

The default value is 0.

See also
SetPartToSheetBoundaryDistance()

◆ RotationCount()

uint cadex.Nesting_ComputerParameters.RotationCount ( )
inline

Returns count of rotations which can be applied in nesting process. Accessible angles are dividers of 360 / RotationCount() degree

The default value is 1.

See also
SetRotationCount()

◆ SetCurveTolerance()

void cadex.Nesting_ComputerParameters.SetCurveTolerance ( double theCurveTolerance)
inline

Sets curve tolerance used to build polygons for geentic algorithm. The value must be greater than zero.

See also
CurveTolerance()
Examples
nesting/nesting_computer/main.cxx.

◆ SetGenerationSize()

void cadex.Nesting_ComputerParameters.SetGenerationSize ( uint theGenerationSize)
inline

Sets generation size used in genetic algorithm. The value must be greater than zero.

See also
GenerationSize()
Examples
nesting/nesting_computer/main.cxx.

◆ SetIterationCount()

void cadex.Nesting_ComputerParameters.SetIterationCount ( uint theIterationCount)
inline

Sets iteration count of genetic algorithm. The value must be greater than zero.

See also
IterationCount()
Examples
nesting/nesting_computer/main.cxx.

◆ SetMutationRate()

void cadex.Nesting_ComputerParameters.SetMutationRate ( double theMutationRate)
inline

Sets mutation rate in geentic algorithm. The value must be in range [0, 1).

See also
MutationRate()
Examples
nesting/nesting_computer/main.cxx.

◆ SetNestingInHoles()

void cadex.Nesting_ComputerParameters.SetNestingInHoles ( bool theIsNestingInHole)
inline

Sets nesting in holes flag.

See also
NestingInHoles()

◆ SetPartToPartDistance()

void cadex.Nesting_ComputerParameters.SetPartToPartDistance ( double thePartToPartDistance)
inline

Sets part to part distance in mm. The value must be greater than or equal to zero.

See also
PartToPartDistance()
Examples
nesting/nesting_computer/main.cxx.

◆ SetPartToSheetBoundaryDistance()

void cadex.Nesting_ComputerParameters.SetPartToSheetBoundaryDistance ( double thePartToSheetBoundaryDistance)
inline

Sets part to sheet boundary distance distance in mm. The value must be greater than or equal to zero.

See also
PartToPartDistance()
Examples
nesting/nesting_computer/main.cxx.

◆ SetRotationCount()

void cadex.Nesting_ComputerParameters.SetRotationCount ( uint theRotationCount)
inline

Sets rotation count. The value must be greater than zero.

See also
RotationCount()
Examples
nesting/nesting_computer/main.cxx.