C# Class Smrf.NodeXL.Algorithms.DConnectorMotif

Represents a D-connector motif.
See the Motifs enumeration for the definition of a D-connector motif. Note that a D-connector motif includes only its . The AnchorVertices are provided by this class, but they are not actually a part of the motif.

This class is optimized for use by the algorithm that finds D-connector motifs. Because of that, it's possible to create an instance of this class that isn't actually a valid D-connector motif. Specifically, it's up to the caller to populate the SpanVertices collection, which starts out empty, with at least two span vertices.

Inheritance: Motif
Show file Open project: 2014-sed-team3/term-project Class Usage Examples

Protected Properties

Property Type Description
m_dSpanScale Double
m_oAnchorVertices List
m_oSpanVertices List

Public Methods

Method Description
AssertValid ( ) : void
DConnectorMotif ( List anchorVertices ) : System

Initializes a new instance of the DConnectorMotif class.

Method Details

AssertValid() public method

public AssertValid ( ) : void
return void

DConnectorMotif() public method

Initializes a new instance of the DConnectorMotif class.
public DConnectorMotif ( List anchorVertices ) : System
anchorVertices List /// The motif's D anchor vertices. ///
return System

Property Details

m_dSpanScale protected property

protected Double m_dSpanScale
return Double

m_oAnchorVertices protected property

protected List m_oAnchorVertices
return List

m_oSpanVertices protected property

protected List m_oSpanVertices
return List