Beispiel #1
0
        public override List <Element> getModifiedToInfin()
        {
            Nuller         nuller     = new Nuller("N1", knots);
            List <Element> returnList = new List <Element>();

            returnList.Add(nuller);
            return(returnList);
        }
Beispiel #2
0
        public override List <Element> getModifiedToInfin()
        {
            string[] nullerKnots = new string[4];
            Array.Copy(knots, nullerKnots, getKnotsCount());
            Array.Copy(knots, 0, nullerKnots, getKnotsCount(), getKnotsCount());
            Nuller nuller = new Nuller("N1", nullerKnots);

            return(new List <Element>(new Element[] { nuller }));;
        }
Beispiel #3
0
        public override List <Element> getModifiedToZero()
        {
            string[] knotsPair   = new string[2];
            string[] nullerKnots = new string[4];;
            Array.Copy(knots, knotsPair, 2);
            Array.Copy(knotsPair, nullerKnots, 2);
            Array.Copy(knotsPair, 0, nullerKnots, 2, 2);
            Nuller         nuller     = new Nuller("N1", nullerKnots);
            List <Element> returnList = new List <Element>();

            returnList.Add(nuller);
            return(returnList);
        }
Beispiel #4
0
        public override List <Element> neutralizeToQ()
        {
            if (dependingElement == null)
            {
                return(null);
            }
            Nuller nuller = dependingElement.neutralizeToQ();

            if (nuller == null)
            {
                return(null);
            }
            List <Element> returnList = new List <Element>();

            returnList.Add(dependingElement.neutralizeToQ());
            return(returnList);
        }
Beispiel #5
0
        public override List <Element> neutralizeToQ()
        {
            string[] nullerKnots = new string[4];
            Array.Copy(knots, nullerKnots, 2);
            Array.Copy(knots, 0, nullerKnots, 2, 2);
            Nuller         nuller1    = new Nuller("N2", nullerKnots);
            List <Element> returnList = new List <Element>();

            returnList.Add(nuller1);
            if (dependingElement != null)
            {
                Nuller nuller2 = dependingElement.neutralizeToQ();
                if (nuller2 != null)
                {
                    returnList.Add(nuller2);
                }
            }
            return(returnList);
        }
Beispiel #6
0
 public override List<Element> getModifiedToZero()
 {
     string[] nullerKnots = new string[4];
     Array.Copy(knots, nullerKnots, getKnotsCount());
     Array.Copy(knots, 0, nullerKnots, getKnotsCount(), getKnotsCount());
     Nuller nuller = new Nuller("N1", nullerKnots);
     return new List<Element>(new Element[] { nuller });
 }
Beispiel #7
0
 public override List<Element> getModifiedToZero()
 {
     string[] knotsPair = new string[2];
     string[] nullerKnots = new string[4]; ;
     Array.Copy(knots, knotsPair, 2);
     Array.Copy(knotsPair, nullerKnots, 2);
     Array.Copy(knotsPair, 0, nullerKnots, 2, 2);
     Nuller nuller = new Nuller("N1", nullerKnots);
     List<Element> returnList = new List<Element>();
     returnList.Add(nuller);
     return returnList;
 }
Beispiel #8
0
 public override List<Element> neutralizeToQ()
 {
     string[] nullerKnots = new string[4];
     Array.Copy(knots, nullerKnots, 2);
     Array.Copy(knots, 0, nullerKnots, 2, 2);
     Nuller nuller1 = new Nuller("N2", nullerKnots);
     List<Element> returnList = new List<Element>();
     returnList.Add(nuller1);
     if (dependingElement != null)
     {
         Nuller nuller2 = dependingElement.neutralizeToQ();
         if (nuller2 != null)
             returnList.Add(nuller2);
     }
     return returnList;
 }
Beispiel #9
0
 public override List<Element> getModifiedToInfin()
 {
     Nuller nuller = new Nuller("N1", knots);
     List<Element> returnList = new List<Element>();
     returnList.Add(nuller);
     return returnList;
 }