Наследование: GeometryGym.Ifc.IfcPreDefinedPropertySet
Пример #1
0
		internal static void parseFields(IfcDoorPanelProperties p, List<string> arrFields, ref int ipos)
		{
			IfcPropertySetDefinition.parseFields(p, arrFields, ref ipos);
			p.mPanelDepth = ParserSTEP.ParseDouble(arrFields[ipos++]);
			p.mOperationType = (IfcDoorPanelOperationEnum)Enum.Parse(typeof(IfcDoorPanelOperationEnum), arrFields[ipos++].Replace(".", ""));
			p.mPanelWidth = ParserSTEP.ParseDouble(arrFields[ipos++]);
			p.mPanelPosition = (IfcDoorPanelPositionEnum)Enum.Parse(typeof(IfcDoorPanelPositionEnum), arrFields[ipos++].Replace(".", ""));
			p.mShapeAspectStyle = ParserSTEP.ParseLink(arrFields[ipos++]);
		}
Пример #2
0
		internal IfcDoorPanelProperties(IfcDoorPanelProperties p) : base(p)
		{
			mPanelDepth = p.mPanelDepth;
			mOperationType = p.mOperationType;
			mPanelWidth = p.mPanelWidth;
			mPanelPosition = p.mPanelPosition;
			mShapeAspectStyle = p.mShapeAspectStyle;
		}
Пример #3
0
		internal static IfcDoorPanelProperties Parse(string strDef) { IfcDoorPanelProperties p = new IfcDoorPanelProperties(); int ipos = 0; parseFields(p, ParserSTEP.SplitLineFields(strDef), ref ipos); return p; }
Пример #4
0
		internal IfcDoorPanelProperties(DatabaseIfc db, IfcDoorPanelProperties p) : base(db, p)
		{
			mPanelDepth = p.mPanelDepth;
			mOperationType = p.mOperationType;
			mPanelWidth = p.mPanelWidth;
			mPanelPosition = p.mPanelPosition;
			if (p.mShapeAspectStyle > 0)
				ShapeAspectStyle = db.Factory.Duplicate(p.ShapeAspectStyle) as IfcShapeAspect;
		}