Table of Contents

Class SampleInstance

Namespace
Hi.MillingForces.Fittings
Assembly
HiMech.dll

Represents a sample instance with step and local division indices for milling force analysis.

public class SampleInstance : IEquatable<SampleInstance>
Inheritance
SampleInstance
Implements
Inherited Members
Extension Methods

Constructors

SampleInstance()

Initializes a new instance of the SampleInstance class.

public SampleInstance()

SampleInstance(int, int)

Initializes a new instance of the SampleInstance class with specified step and local division indices.

public SampleInstance(int stepIndex, int localDivisionIndex)

Parameters

stepIndex int

The step index.

localDivisionIndex int

The local division index.

Properties

LocalDivisionIndex

Gets or sets the local division index.

public int LocalDivisionIndex { get; set; }

Property Value

int

StepIndex

Gets or sets the step index.

public int StepIndex { get; set; }

Property Value

int

Methods

Equals(SampleInstance)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(SampleInstance other)

Parameters

other SampleInstance

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.