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

An extension of the ToolPathModifier interface that requires a modifier to not cause additional changes if run again. More...

#include <tool_path_modifier.h>

Inheritance diagram for noether::OneTimeToolPathModifier:

Public Member Functions

virtual ToolPaths modify (ToolPaths toolpaths) const
 

Additional Inherited Members

- Public Types inherited from noether::ToolPathModifier
using Ptr = std::unique_ptr< ToolPathModifier >
 
using ConstPtr = std::unique_ptr< const ToolPathModifier >
 

Detailed Description

An extension of the ToolPathModifier interface that requires a modifier to not cause additional changes if run again.

This behavior will be enforced via unit test. New modifiers should be implemented as OneTimeToolPathModifiers if possible. The default behavior matches that of the tool path modifier.

Member Function Documentation

◆ modify()

virtual ToolPaths noether::ToolPathModifier::modify ( ToolPaths  toolpaths) const
inlinevirtual

Reimplemented from noether::ToolPathModifier.