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

Joins tool path segments that are within a specified Cartesian distance of one another.

#include <join_close_segments_modifier.h>

Inheritance diagram for noether::JoinCloseSegmentsToolPathModifier:

Public Member Functions

 JoinCloseSegmentsToolPathModifier (const double distance)
 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 (JoinCloseSegmentsToolPathModifier)
 

Protected Attributes

double distance_
 

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

◆ JoinCloseSegmentsToolPathModifier()

noether::JoinCloseSegmentsToolPathModifier::JoinCloseSegmentsToolPathModifier ( const double  distance)
Parameters
distanceDistance (m) below which adjacent tool path segments should be joined

Member Function Documentation

◆ modify()

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

Reimplemented from noether::ToolPathModifier.