CurveExtensionsGetListCoordinatesFromCurve Method (IEnumerableCurveCoordinate, FuncCoordinate, Double, Char) |
[This is preliminary documentation and is subject to change.]
Convert a collection of
CurveTCoordinate's into a string, containing the result of the provided function, separated by a separator
Namespace:
ModelExchanger.AnalysisDataModel.Extensions
Assembly:
ModelExchanger.AnalysisDataModel (in ModelExchanger.AnalysisDataModel.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax public static string GetListCoordinatesFromCurve(
this IEnumerable<Curve<Coordinate>> curves,
Func<Coordinate, double> getterFunc,
char separator = ';'
)
Parameters
- curves
- Type: System.Collections.GenericIEnumerableCurveCoordinate
The collection of curves from which to retrieve data from - getterFunc
- Type: SystemFuncCoordinate, Double
A function which will be executed on each curve in the collection which grabs the value that needs to be added to the string - separator (Optional)
- Type: SystemChar
The separator which separates the values. ';' by default
Return Value
Type:
StringA delimited string containing a value of the coordinates
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerableCurveCoordinate. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also