Noether  0.0.0
Loading...
Searching...
No Matches
noether::LinearApproachModifier Class Reference

Adds a series of waypoints in a linear pattern off the first waypoint in a tool path. More...

#include <linear_approach_modifier.h>

Inheritance diagram for noether::LinearApproachModifier:

Public Types

enum class  Axis { X , Y , Z }
 
- Public Types inherited from noether::ToolPathModifier
using Ptr = std::unique_ptr< ToolPathModifier >
 
using ConstPtr = std::unique_ptr< const ToolPathModifier >
 

Public Member Functions

 LinearApproachModifier (Eigen::Vector3d offset, std::size_t n_points)
 
 LinearApproachModifier (double offset_height, Axis axis, std::size_t n_points)
 
ToolPaths modify (ToolPaths tool_paths) const override
 

Static Public Member Functions

static Eigen::Vector3d toVector (double offset, Axis axis)
 

Protected Attributes

Eigen::Vector3d offset_
 
const size_t n_points_
 

Detailed Description

Adds a series of waypoints in a linear pattern off the first waypoint in a tool path.

Member Function Documentation

◆ modify()

ToolPaths noether::LinearApproachModifier::modify ( ToolPaths  tool_paths) const
overridevirtual

Reimplemented from noether::ToolPathModifier.