Algorithmix.Edge.New C# (CSharp) Метод

New() публичный статический Метод

public static New ( Shred shred, Direction direction ) : Edge
shred Shred
direction Direction
Результат Edge
        public static Edge New(Shred shred, Direction direction)
        {
            return new Edge(shred, direction);
        }

Usage Example

Пример #1
0
 private void InitializeINode()
 {
     _orientation = Orientation.Regular;
     _parent      = null;
     _rightedge   = Edge.New(this, Direction.FromRight);
     _leftedge    = Edge.New(this, Direction.FromLeft);
 }