The standard comparer. Sorts edges in a list by the length of the edges.
Namespace:
ceometric.VectorGeometryAssembly: ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.8.0.0 (1.8.0.0)
Syntax
C# |
---|
public int CompareTo( Edge edge ) |
Visual Basic (Declaration) |
---|
Public Function CompareTo ( _ edge As Edge _ ) As Integer |
Visual C++ |
---|
public: virtual int CompareTo( Edge^ edge ) sealed |
Parameters
- edge
- Type: ceometric.VectorGeometry..::.Edge
An edge to compare.
Return Value
Returns the result of the comparison.Implements
IComparable<(Of <(T>)>)..::.CompareTo(T)Remarks
If E is a list of edges, then E.Sort();
sorts the list by the length of the edges in the list.