internal static IfcAnnotationSurface Parse(string strDef) { IfcAnnotationSurface a = new IfcAnnotationSurface(); int ipos = 0; parseFields(a, ParserSTEP.SplitLineFields(strDef), ref ipos); return a; }
internal static void parseFields(IfcAnnotationSurface s,List<string> arrFields, ref int ipos) { IfcGeometricRepresentationItem.parseFields(s,arrFields, ref ipos); s.mItem = ParserSTEP.ParseLink(arrFields[ipos++]); s.mTextureCoordinates = ParserSTEP.ParseLink(arrFields[ipos++]); }
internal static IfcAnnotationSurface Parse(string str) { IfcAnnotationSurface a = new IfcAnnotationSurface(); int pos = 0, len = str.Length; a.mItem = ParserSTEP.StripLink(str, ref pos, len); a.mTextureCoordinates = ParserSTEP.StripLink(str, ref pos, len); return a; }
internal int mTextureCoordinates;// OPTIONAL IfcTextureCoordinate; internal IfcAnnotationSurface(IfcAnnotationSurface p) : base(p) { mItem = p.mItem; mTextureCoordinates = p.mTextureCoordinates; }
internal IfcAnnotationSurface(DatabaseIfc db, IfcAnnotationSurface a) : base(db, a) { Item = db.Factory.Duplicate(a.Item) as IfcGeometricRepresentationItem; if(a.mTextureCoordinates > 0) TextureCoordinates = db.Factory.Duplicate(a.TextureCoordinates) as IfcTextureCoordinate; }