Click or drag to resize

CurveExtensionsCalculateAreaTCoordinate Method

[This is preliminary documentation and is subject to change.]

Calculates the area from a list of curves that form a closed loop

Namespace:  ModelExchanger.AnalysisDataModel.Extensions
Assembly:  ModelExchanger.AnalysisDataModel (in ModelExchanger.AnalysisDataModel.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax
C#
public static Area CalculateArea<TCoordinate>(
	this IEnumerable<Curve<TCoordinate>> curves
)
where TCoordinate : class, ICoordinate

Parameters

curves
Type: System.Collections.GenericIEnumerableCurveTCoordinate
The curves from which to calculate the area

Type Parameters

TCoordinate
The type of coordinates used by the curves

Return Value

Type: Area
The calculated area

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableCurveTCoordinate. 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