Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Static Public Member Functions | List of all members
Expansions.Missions.Flow.MEFlowExtensions Class Reference

Extension methods for classes that are part of the Flow Namespace More...

Static Public Member Functions

static int CountStartNodes (this List< MEPath > paths)
 Get how many nodes there are in the StartNodes list More...
 
static List< MENodeDistinctStartNodes (this List< MEPath > paths)
 Get a list of the Nodes that start any path More...
 
static List< MEPathGetPathsStarting (this List< MEPath > paths, MENode node)
 Get a subset of the list of paths, containing only the ones starting with the passed node More...
 

Detailed Description

Extension methods for classes that are part of the Flow Namespace

Member Function Documentation

static int Expansions.Missions.Flow.MEFlowExtensions.CountStartNodes ( this List< MEPath paths)
inlinestatic

Get how many nodes there are in the StartNodes list

Parameters
pathsThe list of paths that is the source
Returns
Number of distinct nodes
static List<MENode> Expansions.Missions.Flow.MEFlowExtensions.DistinctStartNodes ( this List< MEPath paths)
inlinestatic

Get a list of the Nodes that start any path

Parameters
pathsThe list of paths that is the source
Returns
List of Distinct Nodes
static List<MEPath> Expansions.Missions.Flow.MEFlowExtensions.GetPathsStarting ( this List< MEPath paths,
MENode  node 
)
inlinestatic

Get a subset of the list of paths, containing only the ones starting with the passed node

Parameters
pathsThe list of paths that is the source
nodeThe node to search for
Returns
All paths that start with the node passed in

The documentation for this class was generated from the following file: