@equinor/videx-3d
    Preparing search index...

    Function getProjectedTrajectory

    • Generate a equaly spaced trajectory along XZ plane from a linear 3d curve where the distance between coordinates corresponds to stepSize.

      Parameters

      • path: Vec3[]

        3d curve

      • stepSize: number

        distance between corrdinates in output trajectory

      • extension: number = 1000

        optional extension of original path (extrapolation)

      • minSize: number = 2000

        a minimum size of the output. If less, points will be extrapolated in both ends

      • defaultExtensionAngle: number = 0

        if there is not enough deviation in the input path to determine an extrapolation angle, this angle will be used (default: 0 radians)

      Returns ProjectedTrajectory

      2d curve along the XZ plane