def METHOD_NAME(vector, parameterisation):
    """
    Calculate the length of the parameterised shape for a given state vector.
    """
    parameterisation.variables.set_values_from_norm(vector)
    return parameterisation.create_shape().length