Algorithmix.Edge.New C# (CSharp) Method

New() public static method

public static New ( Shred shred, Direction direction ) : Edge
shred Shred
direction Direction
return Edge
        public static Edge New(Shred shred, Direction direction)
        {
            return new Edge(shred, direction);
        }

Usage Example

Exemplo n.º 1
0
 private void InitializeINode()
 {
     _orientation = Orientation.Regular;
     _parent      = null;
     _rightedge   = Edge.New(this, Direction.FromRight);
     _leftedge    = Edge.New(this, Direction.FromLeft);
 }