Table of Contents

Class ClLinear

Namespace
Hi.CutterLocations.ClPath
Assembly
HiMech.dll

Cutter location path by linear interpolation.

public class ClLinear : IClPath
Inheritance
ClLinear
Implements
Inherited Members
Extension Methods

Constructors

ClLinear(DVec3d, DVec3d)

Initializes a new instance of the ClLinear class with specified begin and end points.

public ClLinear(DVec3d begin, DVec3d end)

Parameters

begin DVec3d

The beginning point and normal vector.

end DVec3d

The ending point and normal vector.

Properties

Arrow

Arrow from being.p to end.p.

public Vec3d Arrow { get; }

Property Value

Vec3d

Begin

Begin of the path.

public DVec3d Begin { get; set; }

Property Value

DVec3d

End

End of the path.

public DVec3d End { get; set; }

Property Value

DVec3d

Length

Length of the Arrow.

public double Length { get; }

Property Value

double

NormalAxisDelta

The axis-angle representation of the normal vector change from begin to end.

public AxisAngle4d NormalAxisDelta { get; }

Property Value

AxisAngle4d

Methods

At(double)

Gets the interpolated point and normal vector at the specified ratio along the path.

public DVec3d At(double ratio)

Parameters

ratio double

The interpolation ratio between 0 and 1.

Returns

DVec3d

The interpolated point and normal vector.

GetBegin()

Gets the beginning point and normal vector of the path.

public DVec3d GetBegin()

Returns

DVec3d

The beginning point and normal vector.

GetEnd()

Gets the ending point and normal vector of the path.

public DVec3d GetEnd()

Returns

DVec3d

The ending point and normal vector.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.