Наследование: GeometryGym.Ifc.IfcTopologicalRepresentationItem
Пример #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, "FbsmFaces") == 0)
         {
             foreach (XmlNode cn in child.ChildNodes)
             {
                 IfcConnectedFaceSet f = mDatabase.ParseXml <IfcConnectedFaceSet>(cn as XmlElement);
                 if (f != null)
                 {
                     addFace(f);
                 }
             }
         }
     }
 }
Пример #2
0
		internal IfcTopologyRepresentation(IfcConnectedFaceSet fs, string identifier) : base(fs, identifier, "FaceSet") { }
Пример #3
0
        private List<int> mFbsmFaces = new List<int>(); // : SET [1:?] OF IfcConnectedFaceSet;

        #endregion Fields

        #region Constructors

        public IfcFaceBasedSurfaceModel(IfcConnectedFaceSet face)
            : base(face.mDatabase)
        {
            mFbsmFaces.Add(face.mIndex);
        }
Пример #4
0
		internal static IfcConnectedFaceSet Parse(string strDef) { IfcConnectedFaceSet s = new IfcConnectedFaceSet(); int ipos = 0; s.Parse(strDef, ref ipos); return s; }
Пример #5
0
		internal IfcConnectedFaceSet(IfcConnectedFaceSet c) : base(c) { mCfsFaces = new List<int>(c.mCfsFaces.ToArray()); }
Пример #6
0
 internal void addFace(IfcConnectedFaceSet face)
 {
     mFbsmFaces.Add(face.mIndex);
 }
Пример #7
0
 public IfcFaceBasedSurfaceModel(IfcConnectedFaceSet faceSet) : base(faceSet.mDatabase)
 {
     mFbsmFaces.Add(faceSet.mIndex);
 }