Skip to content

interpolate_path and interpolate_reciprocal_path ignore waypoint transform information #166

@eyjafjallac

Description

@eyjafjallac

Problem

interpolate_path and interpolate_reciprocal_path do not correctly handle transform metadata attached to waypoints.
When users pass waypoints that require basis/coordinate transforms, interpolation is performed as if all points were already in the same frame, which can produce incorrect k-path segments.

Why this matters

  • Generates physically inconsistent interpolation paths in transformed coordinate systems.
  • Produces incorrect downstream band/path sampling results.
  • Makes behavior inconsistent with user expectations when transform-aware waypoints are provided.

Steps to reproduce

  1. Create waypoints where at least one waypoint includes a non-identity transform (or is defined in a different basis/frame).
  2. Call interpolate_path(...) with these waypoints and inspect interpolated segments.
  3. Repeat with interpolate_reciprocal_path(...).
  4. Compare results against manually transformed/interpolated reference points.

Expected behavior

Both interpolation APIs should apply waypoint transforms consistently before (or during) interpolation so all segments are generated in the correct coordinate frame.

Actual behavior

Transforms on waypoints are effectively ignored or not propagated correctly, resulting in incorrect interpolated coordinates/segments.

Scope

  • Affected APIs:
    • interpolate_path
    • interpolate_reciprocal_path

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions