Noether  0.0.0
Loading...
Searching...
No Matches
noether::ToolPathModifier Struct Reference

A common interface for functions that alter a generated toolpath. More...

#include <tool_path_modifier.h>

Inheritance diagram for noether::ToolPathModifier:

Public Types

using Ptr = std::unique_ptr< ToolPathModifier >
 
using ConstPtr = std::unique_ptr< const ToolPathModifier >
 

Public Member Functions

virtual ToolPaths modify (ToolPaths toolpaths) const
 

Detailed Description

A common interface for functions that alter a generated toolpath.

Modifiers using this interface may or may not cause additional changes on repeated use. A special interface exists for modifiers that do not cause additional changes on repeat. Since a tool path modifier, by definition, modifies a path, a ToolPaths is passed by value. The default behavior simply returns the input tool paths without change.