File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,17 @@ std::vector<t_segment_inf> get_parallel_segs(const std::vector<t_segment_inf>& s
2222 e_parallel_axis parallel_axis,
2323 bool keep_original_index = false );
2424
25- int get_parallel_seg_index (int abs,
25+ /* *
26+ * @brief Retrieves the segment index in an axis-specific segment list.
27+ *
28+ * @param abs_index Index of the segment in the unified segment list.
29+ * @param index_map Mapping from unified indices to (axis-specific index, axis).
30+ * This map must have been populated by `get_parallel_segs()`.
31+ * @param parallel_axis Axis to resolve ambiguous mappings for segments usable on multiple axes.
32+ *
33+ * @return The index of the segment in the axis-specific list if found, otherwise -1.
34+ */
35+
36+ int get_parallel_seg_index (int abs_index,
2637 const t_unified_to_parallel_seg_index& index_map,
2738 e_parallel_axis parallel_axis);
You can’t perform that action at this time.
0 commit comments