C# Class Smrf.NodeXL.Core.EdgeUtil

Utility methods for dealing with IEdge objects.
All methods are static.
Show file Open project: 2014-sed-team3/term-project Class Usage Examples

Public Methods

Method Description
EdgeToVertices ( IEdge edge, String className, String methodOrPropertyName, IVertex &vertex1, IVertex &vertex2 ) : void
GetEdgeWeightSum ( IVertex vertex1, IVertex vertex2 ) : Double
GetPositiveEdgeWeight ( IEdge edge ) : Double
GetVertexIDPair ( IEdge edge ) : System.Int64
GetVertexIDPair ( IEdge edge, System.Boolean useDirectedness ) : System.Int64
GetVertexNamePair ( String vertexName1, String vertexName2, System.Boolean graphIsDirected ) : String
TryGetEdgeWeight ( IEdge edge, Double &edgeWeight ) : System.Boolean
TryGetIntermediateCurvePoints ( IEdge edge, System &intermediateCurvePoints ) : System.Boolean

Method Details

EdgeToVertices() public static method

public static EdgeToVertices ( IEdge edge, String className, String methodOrPropertyName, IVertex &vertex1, IVertex &vertex2 ) : void
edge IEdge
className String
methodOrPropertyName String
vertex1 IVertex
vertex2 IVertex
return void

GetEdgeWeightSum() public static method

public static GetEdgeWeightSum ( IVertex vertex1, IVertex vertex2 ) : Double
vertex1 IVertex
vertex2 IVertex
return Double

GetPositiveEdgeWeight() public static method

public static GetPositiveEdgeWeight ( IEdge edge ) : Double
edge IEdge
return Double

GetVertexIDPair() public static method

public static GetVertexIDPair ( IEdge edge ) : System.Int64
edge IEdge
return System.Int64

GetVertexIDPair() public static method

public static GetVertexIDPair ( IEdge edge, System.Boolean useDirectedness ) : System.Int64
edge IEdge
useDirectedness System.Boolean
return System.Int64

GetVertexNamePair() public static method

public static GetVertexNamePair ( String vertexName1, String vertexName2, System.Boolean graphIsDirected ) : String
vertexName1 String
vertexName2 String
graphIsDirected System.Boolean
return String

TryGetEdgeWeight() public static method

public static TryGetEdgeWeight ( IEdge edge, Double &edgeWeight ) : System.Boolean
edge IEdge
edgeWeight Double
return System.Boolean

TryGetIntermediateCurvePoints() public static method

public static TryGetIntermediateCurvePoints ( IEdge edge, System &intermediateCurvePoints ) : System.Boolean
edge IEdge
intermediateCurvePoints System
return System.Boolean