JME - Application Documentation
    Preparing search index...
    • Computes the centreline of a lane by averaging two parallel boundary curves point-by-point. Used for link roads where the LinkComponent has pre-computed the two edge curves of each lane.

      If the arrays are different lengths, only the shorter length is used.

      Parameters

      • curveA: Tuple3[]

        Left boundary curve.

      • curveB: Tuple3[]

        Right boundary curve.

      Returns Tuple3[]

      Midpoint curve between curveA and curveB.