CurveExtensions Class |
[This is preliminary documentation and is subject to change.]
Namespace: ModelExchanger.AnalysisDataModel.Extensions
public static class CurveExtensions
The CurveExtensions type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | AreaCalculationNoSupport |
Following shapes has no support for Area calculation. Result of calculation will be zero.
|
![]() ![]() | LengthCalculationNoSupport |
Following shapes has no support for Length calculation. Result of calculation will be zero.
|
Name | Description | |
---|---|---|
![]() ![]() | CalculateArea<TCoordinate> |
Calculates the area from a list of curves that form a closed loop
|
![]() ![]() | CalculateLength<TCoordinate> |
Calculate the total length of a list of curves |
![]() ![]() | GetFlattenListCoordinatesFromCurve<TCoordinate> |
Flatten curves. Creates IEnumerable coordinates without repeating end nodes
|
![]() ![]() | GetListCoordinatesFromCurve(IEnumerable<Curve<Coordinate>>, Func<Coordinate, Length>) |
Convert a collection of Curve<TCoordinate> 's into an array of Length's, using the provided function to retrieve the correct value from each Coordinate |
![]() ![]() | GetListCoordinatesFromCurve(IEnumerable<Curve<Coordinate>>, Func<Coordinate, Double>, Char) |
Convert a collection of Curve<TCoordinate> 's into a string, containing the result of the provided function, separated by a separator
|
![]() ![]() | GetNodesListFromCurves<TCoordinate> |
Convert a collection of Curve<TCoordinate> 's into a string, containing the names of the coordinates separated by a separator
|
![]() ![]() | GetNodesNamesListFromCurves | |
![]() ![]() | GetShapesListFromCurves<TCoordinate> |
Convert a collection of Curve<TCoordinate> 's into a string,
containing the CurveGeometricalShape of the coordinates separated by a separator
|
![]() ![]() | ToGeometryCurve<TCoordinate> |
Convert a Curve<TCoordinate> to a geometry curve
|