APIs, concepts, guides, and more

◆ PathLineAdd()

void PathLineAdd ( const double *const position)
Description:
PathLineAdd adds a line segment to the path.
Parameters
positionAn array of positions (in UserUnits for each Axis) for the point on the path.
Sample Code:
double lineA[2] = {10.0, 20.0} // XY
multiAxis->PathListAdd(lineA);
Note
You can change the velocity, acceleration or time slice for each individual line segment. Set any of these values before calling PathLineAdd.
See also
PathArcAdd, VectorVelocitySet, VectorAccelerationSet, PathTimeSliceSet
Examples
PathMotion.cpp.