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

Organizes a set of tool paths into a standard configuration for edge paths. More...

Detailed Description

Segments are ordered in a tool path such that the start of one segment is as close as possible to the end of the previous segment. The first segment is chosen as the one whose first waypoint is closest to a reference position. Tool path segments are ordered in the top-level container in order of length, from longest to shortest. Note: waypoints are expected to be ordered correctly on input to the modifier

#include <standard_edge_paths_organization_modifier.h>

Inheritance diagram for noether::StandardEdgePathsOrganizationModifier:

Public Member Functions

 StandardEdgePathsOrganizationModifier (const Eigen::Vector3d &start_reference=Eigen::Vector3d::Zero())
 
ToolPaths modify (ToolPaths) const override
 

Protected Attributes

Eigen::Vector3d start_reference_
 

Additional Inherited Members

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

Member Function Documentation

◆ modify()

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

Reimplemented from noether::OneTimeToolPathModifier.