Table of Contents

Class BitwiseMillingEngagement

Namespace
Hi.Milling.Engagements
Assembly
HiMech.dll

Represents a bitwise milling engagement that uses bit arrays to efficiently store engagement information.

public class BitwiseMillingEngagement
Inheritance
BitwiseMillingEngagement
Inherited Members
Extension Methods

Constructors

BitwiseMillingEngagement(List<PairZr>, List<List<Vec3d>>, SeqPair<Mat4d>, double, double)

Initializes a new instance of the BitwiseMillingEngagement class.

public BitwiseMillingEngagement(List<PairZr> fluteZrContour, List<List<Vec3d>> orthodoxForwardContours, SeqPair<Mat4d> seqOnToolRunningCoordinate, double zInterval, double rInterval)

Parameters

fluteZrContour List<PairZr>

The flute Z-R contour.

orthodoxForwardContours List<List<Vec3d>>

The orthodox forward contours.

seqOnToolRunningCoordinate SeqPair<Mat4d>

The sequence on tool running coordinate.

zInterval double

The Z interval.

rInterval double

The R interval.

Fields

angleIntervalNum

Number of angle interval.

public const int angleIntervalNum = 64

Field Value

int

angleInterval_rad

angle interval in radian.

public const double angleInterval_rad = 0.09817477042468103

Field Value

double

Properties

BottomBits

Gets or sets the bottom bits representing bottom engagement.

public List<ulong> BottomBits { get; set; }

Property Value

List<ulong>

SideBits

Gets or sets the side bits representing side engagement.

public List<ulong> SideBits { get; set; }

Property Value

List<ulong>

Methods

Delta(BitwiseMillingEngagement, BitwiseMillingEngagement, out int)

Contact area difference from engagement1.

public static int Delta(BitwiseMillingEngagement engagement0, BitwiseMillingEngagement engagement1, out int deltaIncreaseNum)

Parameters

engagement0 BitwiseMillingEngagement

previous engagement on time line. Null value is accepted.

engagement1 BitwiseMillingEngagement

current engagement on time line. Null value is accepted.

deltaIncreaseNum int

The relative increase number of contact area from engagement0 to engagement1. Negative value means the contact area decreased.

Returns

int

Contact area difference

ToBottomBitString()

Converts the bottom bits to a string representation.

public string ToBottomBitString()

Returns

string

A string representation of the bottom bits.

ToSideBitString()

Converts the side bits to a string representation.

public string ToSideBitString()

Returns

string

A string representation of the side bits.