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

Prunes tool path segments whose lengths are less than the specified minimum length.

#include <minimum_segment_length_modifier.h>

Inheritance diagram for noether::MinimumSegmentLengthToolPathModifier:

Public Member Functions

 MinimumSegmentLengthToolPathModifier (const double minimum_length)
 Constructor.
 
ToolPaths modify (ToolPaths tool_paths) const override
 
- Public Member Functions inherited from noether::OneTimeToolPathModifier
virtual ToolPaths modify (ToolPaths toolpaths) const
 

Protected Member Functions

 DECLARE_YAML_FRIEND_CLASSES (MinimumSegmentLengthToolPathModifier)
 

Protected Attributes

double minimum_length_
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ MinimumSegmentLengthToolPathModifier()

noether::MinimumSegmentLengthToolPathModifier::MinimumSegmentLengthToolPathModifier ( const double  minimum_length)
Parameters
minimum_lengthMinimum length (m) of a tool path segment

Member Function Documentation

◆ modify()

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

Reimplemented from noether::ToolPathModifier.