CollectionExtensionsSortByDistanceTObject Method (IEnumerableTObject, IPosition)

CVB.Net Documentation
Sort a list of position according to their distances form a sort center.

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

public static IEnumerable<TObject> SortByDistance<TObject>(
	this IEnumerable<TObject> coll,
	IPosition sortCenter
)
where TObject : IPosition

Parameters

coll
Type: System.Collections.GenericIEnumerableTObject
collection to be sorted
sortCenter
Type: Stemmer.CvbIPosition
center around which to sort

Type Parameters

TObject
type of object to be sorted

Return Value

Type: IEnumerableTObject

[Missing <returns> documentation for "M:Stemmer.Cvb.Collections.Generic.CollectionExtensions.SortByDistance``1(System.Collections.Generic.IEnumerable{``0},Stemmer.Cvb.IPosition)"]

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