Table of Contents

Class FixedFeedPerToothOptLimit

Namespace
Hi.NcOpt
Assembly
HiMech.dll

Represents fixed feed-per-tooth optimization limits. Provides implementation for feed-per-tooth optimization with fixed minimum and maximum values.

public class FixedFeedPerToothOptLimit : IFeedPerToothOptLimit, IMakeXmlSource, IDuplicate
Inheritance
FixedFeedPerToothOptLimit
Implements
Inherited Members
Extension Methods

Constructors

FixedFeedPerToothOptLimit()

Ctor.

public FixedFeedPerToothOptLimit()

FixedFeedPerToothOptLimit(XElement, string)

Initializes a new instance of the FixedFeedPerToothOptLimit class.

public FixedFeedPerToothOptLimit(XElement element, string baseDirectory)

Parameters

element XElement

The XML element containing optimization limit data.

baseDirectory string

The base directory for resolving relative paths.

Properties

MaxFeedPerTooth_mm

Gets or sets the maximum feed per tooth value in millimeters.

public double MaxFeedPerTooth_mm { get; set; }

Property Value

double

MinFeedPerTooth_mm

Gets or sets the minimum feed per tooth value in millimeters.

public double MinFeedPerTooth_mm { get; set; }

Property Value

double

XName

Name for XML IO.

public static string XName { get; }

Property Value

string

Methods

Duplicate(params object[])

Creates a deep copy of the object, excluding any source file references.

public object Duplicate(params object[] res)

Parameters

res object[]

Optional parameters that may be needed during the duplication process

Returns

object

A new instance that is a deep copy of the original object

GetMaxFeedPerTooth_mm()

Gets the maximum feed per tooth value in millimeters.

public double GetMaxFeedPerTooth_mm()

Returns

double

The maximum feed per tooth value in millimeters.

GetMinFeedPerTooth_mm()

Gets the minimum feed per tooth value in millimeters.

public double GetMinFeedPerTooth_mm()

Returns

double

The minimum feed per tooth value in millimeters.

MakeXmlSource(string, string)

Creates an XML representation of the object. This method may also generate additional resources such as related files.

public XElement MakeXmlSource(string baseDirectory, string relFile)

Parameters

baseDirectory string

The base directory for resolving relative paths

relFile string

The relative file path for the XML source

Returns

XElement

An XML element representing the object's state

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.