Skip to contents

Compute the approximate arc length of Bezier curves

Usage

path_length(points, precision = 20)

Arguments

points

Matrix of control points (N x 3, 4 per curve)

precision

Samples per curve for approximation

Value

Total arc length (scalar)