C# Class Smrf.NodeXL.Core.EdgeUtil

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

Méthodes publiques

Méthode 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 méthode

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

GetEdgeWeightSum() public static méthode

public static GetEdgeWeightSum ( IVertex vertex1, IVertex vertex2 ) : Double
vertex1 IVertex
vertex2 IVertex
Résultat Double

GetPositiveEdgeWeight() public static méthode

public static GetPositiveEdgeWeight ( IEdge edge ) : Double
edge IEdge
Résultat Double

GetVertexIDPair() public static méthode

public static GetVertexIDPair ( IEdge edge ) : System.Int64
edge IEdge
Résultat System.Int64

GetVertexIDPair() public static méthode

public static GetVertexIDPair ( IEdge edge, System.Boolean useDirectedness ) : System.Int64
edge IEdge
useDirectedness System.Boolean
Résultat System.Int64

GetVertexNamePair() public static méthode

public static GetVertexNamePair ( String vertexName1, String vertexName2, System.Boolean graphIsDirected ) : String
vertexName1 String
vertexName2 String
graphIsDirected System.Boolean
Résultat String

TryGetEdgeWeight() public static méthode

public static TryGetEdgeWeight ( IEdge edge, Double &edgeWeight ) : System.Boolean
edge IEdge
edgeWeight Double
Résultat System.Boolean

TryGetIntermediateCurvePoints() public static méthode

public static TryGetIntermediateCurvePoints ( IEdge edge, System &intermediateCurvePoints ) : System.Boolean
edge IEdge
intermediateCurvePoints System
Résultat System.Boolean