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_t, dvec3d_t)

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

public ClLinear(dvec3d_t begin, dvec3d_t end)

Parameters

begin dvec3d_t

The beginning point and normal vector.

end dvec3d_t

The ending point and normal vector.

Properties

Arrow

Arrow from being.p to end.p.

public vec3d_t Arrow { get; }

Property Value

vec3d_t

Begin

Begin of the path.

public dvec3d_t Begin { get; set; }

Property Value

dvec3d_t

End

End of the path.

public dvec3d_t End { get; set; }

Property Value

dvec3d_t

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_t At(double ratio)

Parameters

ratio double

The interpolation ratio between 0 and 1.

Returns

dvec3d_t

The interpolated point and normal vector.

GetBegin()

Gets the beginning point and normal vector of the path.

public dvec3d_t GetBegin()

Returns

dvec3d_t

The beginning point and normal vector.

GetEnd()

Gets the ending point and normal vector of the path.

public dvec3d_t GetEnd()

Returns

dvec3d_t

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.