Inheritance: BaseClassIfc
Example #1
0
 private void removeExistingFromShapeRep(IfcGridAxis a)
 {
     removeExistingFromShapeRep(new List <IfcGridAxis>()
     {
         a
     });
 }
Example #2
0
 private void setShapeRep(IfcGridAxis a)
 {
     setShapeRep(new List <IfcGridAxis>()
     {
         a
     });
 }
Example #3
0
        internal List <IfcGridAxis> extractAxes(XmlNode node)
        {
            List <IfcGridAxis> axes = new List <IfcGridAxis>(node.ChildNodes.Count);

            foreach (XmlNode cn in node.ChildNodes)
            {
                IfcGridAxis a = mDatabase.ParseXml <IfcGridAxis>(cn as XmlElement);
                if (a != null)
                {
                    axes.Add(a);
                }
            }
            return(axes);
        }
Example #4
0
 internal static void parseFields(IfcGridAxis a, List <string> arrFields, ref int ipos)
 {
     a.mAxisTag = arrFields[ipos++].Replace("'", ""); a.mAxisCurve = ParserSTEP.ParseLink(arrFields[ipos++]); a.mSameSense = ParserSTEP.ParseBool(arrFields[ipos++]);
 }
Example #5
0
 internal void AddWAxis(IfcGridAxis a)
 {
     mWAxes.Add(a.mIndex); a.mPartOfW = this; setShapeRep(a);
 }
Example #6
0
 internal static IfcGridAxis Parse(string strDef)
 {
     IfcGridAxis a = new IfcGridAxis(); int ipos = 0; parseFields(a, ParserSTEP.SplitLineFields(strDef), ref ipos); return(a);
 }
Example #7
0
		internal static void parseFields(IfcGridAxis a, List<string> arrFields, ref int ipos) { a.mAxisTag = arrFields[ipos++].Replace("'", ""); a.mAxisCurve = ParserSTEP.ParseLink(arrFields[ipos++]); a.mSameSense = ParserSTEP.ParseBool(arrFields[ipos++]); }
Example #8
0
 internal void RemoveWAxis(IfcGridAxis a)
 {
     mWAxes.Remove(a.mIndex); a.mPartOfW = null; removeExistingFromShapeRep(a);
 }
Example #9
0
		internal void RemoveVAxis(IfcGridAxis a) { mVAxes.Remove(a.mIndex); a.mPartOfV = null; }
Example #10
0
		internal IfcGridAxis(IfcGridAxis p) : base() { mAxisTag = p.mAxisTag; mAxisCurve = p.mAxisCurve; mSameSense = p.mSameSense; }
Example #11
0
		internal void AddUAxis(IfcGridAxis a) { mUAxes.Add(a.mIndex); a.mPartOfU = this; }
Example #12
0
		internal void AddWAxis(IfcGridAxis a) { mWAxes.Add(a.mIndex); a.mPartOfW = this; }
Example #13
0
 internal IfcGridAxis(IfcGridAxis p) : base()
 {
     mAxisTag = p.mAxisTag; mAxisCurve = p.mAxisCurve; mSameSense = p.mSameSense;
 }
Example #14
0
 internal void RemoveWAxis(IfcGridAxis a)
 {
     mWAxes.Remove(a.mIndex); a.mPartOfW = null; removeExistingFromShapeRep(a);
 }
Example #15
0
 internal void AddWAxis(IfcGridAxis a)
 {
     mWAxes.Add(a.mIndex); a.mPartOfW = this; setShapeRep(a);
 }
Example #16
0
 private void setShapeRep(IfcGridAxis a)
 {
     setShapeRep(new List<IfcGridAxis>() { a });
 }
Example #17
0
 private void removeExistingFromShapeRep(IfcGridAxis a)
 {
     removeExistingFromShapeRep(new List<IfcGridAxis>() { a });
 }
Example #18
0
		internal void AddVAxis(IfcGridAxis a) { mVAxes.Add(a.mIndex); a.mPartOfV = this; }
Example #19
0
 internal void AddUAxis(IfcGridAxis a)
 {
     mUAxes.Add(a.mIndex); a.mPartOfU = this;
 }
Example #20
0
		internal void RemoveUAxis(IfcGridAxis a) { mUAxes.Remove(a.mIndex); a.mPartOfU = null; }
Example #21
0
 internal void AddVAxis(IfcGridAxis a)
 {
     mVAxes.Add(a.mIndex); a.mPartOfV = this;
 }
Example #22
0
		internal void RemoveWAxis(IfcGridAxis a) { mWAxes.Remove(a.mIndex); a.mPartOfW = null; }
Example #23
0
 internal void AddWAxis(IfcGridAxis a)
 {
     mWAxes.Add(a.mIndex); a.mPartOfW = this;
 }
Example #24
0
		internal static IfcGridAxis Parse(string strDef) { IfcGridAxis a = new IfcGridAxis(); int ipos = 0; parseFields(a, ParserSTEP.SplitLineFields(strDef), ref ipos); return a; }
Example #25
0
 internal void RemoveUAxis(IfcGridAxis a)
 {
     mUAxes.Remove(a.mIndex); a.mPartOfU = null;
 }
Example #26
0
 internal void RemoveVAxis(IfcGridAxis a)
 {
     mVAxes.Remove(a.mIndex); a.mPartOfV = null;
 }
Example #27
0
 internal void RemoveWAxis(IfcGridAxis a)
 {
     mWAxes.Remove(a.mIndex); a.mPartOfW = null;
 }
Example #28
0
 internal IfcGridAxis(DatabaseIfc db, IfcGridAxis a) : base(db)
 {
     mAxisTag = a.mAxisTag; AxisCurve = db.Factory.Duplicate(a.AxisCurve) as IfcCurve; mSameSense = a.mSameSense;
 }
Example #29
0
 internal IfcGridAxis(DatabaseIfc db, IfcGridAxis a)
     : base(db)
 {
     mAxisTag = a.mAxisTag; AxisCurve = db.Factory.Duplicate(a.AxisCurve) as IfcCurve; mSameSense = a.mSameSense;
 }