Skip to content

GH_Path.PathLengthComparer

Public Class

Use this comparer to sort lists of paths using a topological approach. Shorter paths are favoured over longer paths. Equal length paths use the default comparer.

Inheritance Hierarchy

System.Object
Grasshopper.Kernel.Data.GH_Path.PathLengthComparer

Namespace: Grasshopper.Kernel.Data

Assembly: Grasshopper (in Grasshopper.dll)

Syntax

public class PathLengthComparer : IComparer<GH_Path>

The GH_Path.PathLengthComparer type exposes the following members.

Constructors

Name

Description


Public Method

Initializes a new instance of the GH_Path.PathLengthComparer class


Methods

Name

Description


Public Method