Method ParsePointDouble
ParsePointDouble(Double[], String, Int32)
Given a string containing dimension
values encoded in it, separated by commas, return a double array of length dimension
containing the values.
Declaration
public static double[] ParsePointDouble(double[] out, string externalVal, int dimension)
Parameters
Type | Name | Description |
---|---|---|
System.Double[] | out | A preallocated array. Must be size dimension. If it is not it will be resized. |
System.String | externalVal | The value to parse |
System.Int32 | dimension | The expected number of values for the point |
Returns
Type | Description |
---|---|
System.Double[] | An array of the values that make up the point (aka vector) |
Exceptions
Type | Condition |
---|---|
InvalidShapeException | If the dimension specified does not match the number of values in the |