C# Class OpenCNCPilot.GCode.GCodeCommands.Motion

Inheritance: Command
Show file Open project: martin2250/OpenCNCPilot

Public Properties

Property Type Description
End Vector3
Feed double
Start Vector3

Public Methods

Method Description
Interpolate ( double ratio ) : Vector3

get intermediate point along the path

Split ( double length ) : IEnumerable

Split motion into smaller fragments, still following the same path

Method Details

Interpolate() public abstract method

get intermediate point along the path
public abstract Interpolate ( double ratio ) : Vector3
ratio double ratio between intermediate point and end
return Vector3

Split() public abstract method

Split motion into smaller fragments, still following the same path
public abstract Split ( double length ) : IEnumerable
length double the maximum allowed length per returned segment
return IEnumerable

Property Details

End public property

public Vector3 End
return Vector3

Feed public property

public double Feed
return double

Start public property

public Vector3 Start
return Vector3