Inheritance: GeometryGym.Ifc.IfcPreDefinedPropertySet
Exemplo n.º 1
0
 internal IfcWindowPanelProperties(IfcWindowPanelProperties p)
     : base(p)
 {
     mOperationType    = p.mOperationType;
     mPanelPosition    = p.mPanelPosition;
     mFrameDepth       = p.mFrameDepth;
     mFrameThickness   = p.mFrameThickness;
     mShapeAspectStyle = p.mShapeAspectStyle;
 }
Exemplo n.º 2
0
 internal static void parseFields(IfcWindowPanelProperties p, List <string> arrFields, ref int ipos)
 {
     IfcPropertySetDefinition.parseFields(p, arrFields, ref ipos);
     p.mOperationType    = (IfcWindowPanelOperationEnum)Enum.Parse(typeof(IfcWindowPanelOperationEnum), arrFields[ipos++].Replace(".", ""));
     p.mPanelPosition    = (IfcWindowPanelPositionEnum)Enum.Parse(typeof(IfcWindowPanelPositionEnum), arrFields[ipos++].Replace(".", ""));
     p.mFrameDepth       = ParserSTEP.ParseDouble(arrFields[ipos++]);
     p.mFrameThickness   = ParserSTEP.ParseDouble(arrFields[ipos++]);
     p.mShapeAspectStyle = ParserSTEP.ParseLink(arrFields[ipos++]);
 }
Exemplo n.º 3
0
 internal IfcWindowPanelProperties(DatabaseIfc db, IfcWindowPanelProperties p) : base(db, p)
 {
     mOperationType  = p.mOperationType;
     mPanelPosition  = p.mPanelPosition;
     mFrameDepth     = p.mFrameDepth;
     mFrameThickness = p.mFrameThickness;
     if (p.mShapeAspectStyle > 0)
     {
         ShapeAspectStyle = db.Factory.Duplicate(p.ShapeAspectStyle) as IfcShapeAspect;
     }
 }
Exemplo n.º 4
0
 internal IfcWindowPanelProperties(DatabaseIfc db, IfcWindowPanelProperties p, DuplicateOptions options) : base(db, p, options)
 {
     mOperationType  = p.mOperationType;
     mPanelPosition  = p.mPanelPosition;
     mFrameDepth     = p.mFrameDepth;
     mFrameThickness = p.mFrameThickness;
     if (p.mShapeAspectStyle != null)
     {
         ShapeAspectStyle = db.Factory.Duplicate(p.ShapeAspectStyle);
     }
 }
Exemplo n.º 5
0
 internal static IfcWindowPanelProperties Parse(string strDef)
 {
     IfcWindowPanelProperties p = new IfcWindowPanelProperties(); int ipos = 0; parseFields(p, ParserSTEP.SplitLineFields(strDef), ref ipos); return(p);
 }
Exemplo n.º 6
0
 internal static void parseFields(IfcWindowPanelProperties p, List<string> arrFields, ref int ipos)
 {
     IfcPropertySetDefinition.parseFields(p, arrFields, ref ipos);
     p.mOperationType = (IfcWindowPanelOperationEnum)Enum.Parse(typeof(IfcWindowPanelOperationEnum), arrFields[ipos++].Replace(".", ""));
     p.mPanelPosition = (IfcWindowPanelPositionEnum)Enum.Parse(typeof(IfcWindowPanelPositionEnum), arrFields[ipos++].Replace(".", ""));
     p.mFrameDepth = ParserSTEP.ParseDouble(arrFields[ipos++]);
     p.mFrameThickness = ParserSTEP.ParseDouble(arrFields[ipos++]);
     p.mShapeAspectStyle = ParserSTEP.ParseLink(arrFields[ipos++]);
 }
Exemplo n.º 7
0
 internal static IfcWindowPanelProperties Parse(string strDef)
 {
     IfcWindowPanelProperties p = new IfcWindowPanelProperties(); int ipos = 0; parseFields(p, ParserSTEP.SplitLineFields(strDef), ref ipos); return p;
 }
Exemplo n.º 8
0
 internal IfcWindowPanelProperties(DatabaseIfc db, IfcWindowPanelProperties p)
     : base(db, p)
 {
     mOperationType = p.mOperationType;
     mPanelPosition = p.mPanelPosition;
     mFrameDepth = p.mFrameDepth;
     mFrameThickness = p.mFrameThickness;
     if (p.mShapeAspectStyle > 0)
         ShapeAspectStyle = db.Factory.Duplicate(p.ShapeAspectStyle) as IfcShapeAspect;
 }
Exemplo n.º 9
0
		internal IfcWindowPanelProperties(IfcWindowPanelProperties p)
			: base(p)
		{
			mOperationType = p.mOperationType;
			mPanelPosition = p.mPanelPosition;
			mFrameDepth = p.mFrameDepth;
			mFrameThickness = p.mFrameThickness;
			mShapeAspectStyle = p.mShapeAspectStyle;
		}