CollectionExtensionsGetCenterTObject Method

CVB.Net Documentation
Calculate the center of gravity over a list of position objects.

Namespace:  Stemmer.Cvb.Collections.Generic
Assembly:  Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax

public static Point2Dd GetCenter<TObject>(
	this IEnumerable<TObject> list
)
where TObject : IPosition

Parameters

list
Type: System.Collections.GenericIEnumerableTObject
list to calculate on

Type Parameters

TObject
object type

Return Value

Type: Point2Dd
the list's center position

Usage Note

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

Reference