Package: graphene
Function graphene:point-interpolate
Lambda Listgraphene:point-interpolate (a b factor result) ArgumentsReturn ValueThe graphene:point-t instance with the interpolated point. Details Linearly interpolates the coordinates of a and b using the given factor. Examples(graphene:with-points ((a 0 0) (b 1 2) result) (graphene:point-interpolate a b 0.5 result) (values (graphene:point-x result) (graphene:point-y result))) => 0.5 => 1.0 | See also |
2023-9-22