상속: GeometryGym.Ifc.IfcPreDefinedPropertySet
예제 #1
0
파일: IFC D.cs 프로젝트: jenca-cloud/ggIFC
		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
파일: IFC D.cs 프로젝트: jenca-cloud/ggIFC
		internal IfcDoorPanelProperties(IfcDoorPanelProperties p) : base(p)
		{
			mPanelDepth = p.mPanelDepth;
			mOperationType = p.mOperationType;
			mPanelWidth = p.mPanelWidth;
			mPanelPosition = p.mPanelPosition;
			mShapeAspectStyle = p.mShapeAspectStyle;
		}
예제 #3
0
파일: IFC D.cs 프로젝트: jenca-cloud/ggIFC
		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;
		}