g3-toolkit API Reference
    Preparing search index...

    Function routeOrthogonal

    • Route an orthogonal, obstacle-clear polyline between two border anchors. Returns the full point list INCLUDING both anchor points (collinear interior points removed), or null when no clear path exists in the grid (callers fall back to their previous behavior).

      Parameters

      Returns { points: Pt[] } | null