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
begindvec3d_tThe beginning point and normal vector.
enddvec3d_tThe ending point and normal vector.
Properties
Arrow
Arrow from being.p to end.p.
public vec3d_t Arrow { get; }
Property Value
Begin
Begin of the path.
public dvec3d_t Begin { get; set; }
Property Value
End
End of the path.
public dvec3d_t End { get; set; }
Property Value
Length
Length of the Arrow.
public double Length { get; }
Property Value
NormalAxisDelta
The axis-angle representation of the normal vector change from begin to end.
public AxisAngle4d NormalAxisDelta { get; }
Property Value
Methods
At(double)
Gets the interpolated point and normal vector at the specified ratio along the path.
public dvec3d_t At(double ratio)
Parameters
ratiodoubleThe 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.