Inheritance: GeometryGym.Ifc.IfcTopologicalRepresentationItem
Esempio n. 1
0
 internal override void ParseXml(XmlElement xml)
 {
     base.ParseXml(xml);
     foreach (XmlNode child in xml.ChildNodes)
     {
         string name = child.Name;
         if (string.Compare(name, "Bounds") == 0)
         {
             foreach (XmlNode cn in child.ChildNodes)
             {
                 IfcFaceBound f = mDatabase.ParseXml <IfcFaceBound>(cn as XmlElement);
                 if (f != null)
                 {
                     Bounds.Add(f);
                 }
             }
         }
     }
 }
Esempio n. 2
0
 public IfcFace(IfcFaceOuterBound outer, IfcFaceBound inner)
     : this(outer)
 {
     mBounds.Add(inner.mIndex);
 }
Esempio n. 3
0
 public IfcFaceSurface(IfcFaceOuterBound outer, IfcFaceBound inner, IfcSurface srf, bool sameSense)
     : base(outer, inner)
 {
     mFaceSurface = srf.mIndex; mSameSense = sameSense;
 }
Esempio n. 4
0
 internal static IfcFaceBound Parse(string str)
 {
     IfcFaceBound b = new IfcFaceBound();
     int pos = 0;
     b.Parse( str, ref pos, str.Length);
     return b;
 }
Esempio n. 5
0
 internal IfcFaceBound(DatabaseIfc db, IfcFaceBound b)
     : base(db,b)
 {
     Bound = db.Factory.Duplicate(b.Bound) as IfcLoop; mOrientation = b.mOrientation;
 }
Esempio n. 6
0
		public IfcAdvancedFace(IfcFaceOuterBound outer, IfcFaceBound inner, IfcSurface f, bool sense) : base(outer,inner, f, sense) { }
Esempio n. 7
0
		protected static void parseString(IfcFaceBound b, string str, ref int pos)
		{
			b.mBound = ParserSTEP.StripLink(str, ref pos);
			b.mOrientation = ParserSTEP.StripBool(str, ref pos);
		}
Esempio n. 8
0
		internal static void parseFields(IfcFaceBound b, List<string> arrFields, ref int ipos)
		{
			IfcTopologicalRepresentationItem.parseFields(b, arrFields, ref ipos);
			b.mBound = ParserSTEP.ParseLink(arrFields[ipos++]);
			b.mOrientation = ParserSTEP.ParseBool(arrFields[ipos++]);
		}
Esempio n. 9
0
		internal static IfcFaceBound Parse(string str)
		{
			IfcFaceBound b = new IfcFaceBound();
			int pos = 0;
			parseString(b, str, ref pos);
			return b;
		}
Esempio n. 10
0
		internal IfcFaceBound(IfcFaceBound i) : base(i) { mBound = i.mBound; mOrientation = i.mOrientation; }
Esempio n. 11
0
 public IfcFace(IfcFaceOuterBound outer, IfcFaceBound inner) : this(outer) { mBounds.Add(inner); }
Esempio n. 12
0
 public IfcFaceSurface(IfcFaceOuterBound outer, IfcFaceBound inner, IfcSurface srf, bool sameSense) : base(outer, inner)
 {
     FaceSurface = srf; mSameSense = sameSense;
 }
Esempio n. 13
0
 internal IfcFaceBound(DatabaseIfc db, IfcFaceBound b) : base(db, b)
 {
     Bound = db.Factory.Duplicate(b.Bound) as IfcLoop; mOrientation = b.mOrientation;
 }