Пример #1
0
    // ReSharper disable once InconsistentNaming
    public PrimitivNode(PrimitivRotate _rotate)
    {
        Guid     = System.Guid.NewGuid().ToString();
        TypeNode = PrimitivType.Rotate;

        Catalog = null;
        Point   = null;
        Cycler  = null;
        Rotate  = _rotate;

        Nodes = new List <PrimitivNode>();
    }
Пример #2
0
    // ReSharper disable once InconsistentNaming
    public PrimitivNode(PrimitivPoint _point)
    {
        Guid     = System.Guid.NewGuid().ToString();
        TypeNode = PrimitivType.Point;

        Catalog = null;
        Point   = _point;
        Cycler  = null;
        Rotate  = null;

        Nodes = new List <PrimitivNode>();
    }
Пример #3
0
    // ReSharper disable once InconsistentNaming
    public PrimitivNode(PrimitivCatalog _catalog)
    {
        Guid     = System.Guid.NewGuid().ToString();
        TypeNode = PrimitivType.Catalog;

        Catalog = _catalog;
        Point   = null;
        Cycler  = null;
        Rotate  = null;

        Nodes = new List <PrimitivNode>();
    }
Пример #4
0
    public PrimitivNode(PrimitivCycle cycle)
    {
        Guid     = System.Guid.NewGuid().ToString();
        TypeNode = PrimitivType.Cycler;

        Catalog = null;
        Point   = null;
        Cycler  = cycle;
        Rotate  = null;

        Nodes = new List <PrimitivNode>();
    }
Пример #5
0
    private PrimitivNode()
    {
        Guid     = "";
        TypeNode = PrimitivType.Catalog;

        Catalog = null;
        Point   = null;
        Cycler  = null;
        Rotate  = null;

        Nodes = new List <PrimitivNode>();
    }