Parses and evaluates up to two values out of a string. e.g. "(45 * Math.PI / 2), 20"
Results are assigned to the returned Vect2d's x and y members respectively.
If only one value is found in the string then it is assigned to the result's y member as well as to x.
An empty value string produces a default zero-length vector.
See also parseNumericArrayString()
Parses and evaluates up to two values out of a string. e.g. "(45 * Math.PI / 2), 20" Results are assigned to the returned Vect2d's
x
andy
members respectively. If only one value is found in the string then it is assigned to the result'sy
member as well as tox
. An empty value string produces a default zero-length vector. See alsoparseNumericArrayString()