Inheritance: IfcAlignment2DSegment
Exemplo n.º 1
0
 protected static void parseFields(IfcAlignment2DVerticalSegment s, List <string> arrFields, ref int ipos)
 {
     IfcAlignment2DSegment.parseFields(s, arrFields, ref ipos);
     s.mStartDistAlong   = ParserSTEP.ParseDouble(arrFields[ipos++]);
     s.mHorizontalLength = ParserSTEP.ParseDouble(arrFields[ipos++]);
     s.mStartHeight      = ParserSTEP.ParseDouble(arrFields[ipos++]);
     s.mStartGradient    = ParserSTEP.ParseDouble(arrFields[ipos++]);
 }
Exemplo n.º 2
0
		internal override void ParseXml(XmlElement xml)
		{
			base.ParseXml(xml);
			foreach (XmlNode child in xml.ChildNodes)
			{
				string name = child.Name;
				if (string.Compare(name, "Segments") == 0)
				{
					foreach (XmlNode cn in child.ChildNodes)
					{
						IfcAlignment2DVerticalSegment s = mDatabase.ParseXml<IfcAlignment2DVerticalSegment>(cn as XmlElement);
						if (s != null)
							Segments.Add(s);
					}
				}
			}
		}
Exemplo n.º 3
0
 protected IfcAlignment2DVerticalSegment(IfcAlignment2DVerticalSegment s) : base(s)
 {
     mStartDistAlong = s.mStartDistAlong; mHorizontalLength = s.mHorizontalLength; mStartHeight = s.mStartHeight; mStartGradient = s.mStartGradient;
 }
Exemplo n.º 4
0
 internal static void parseFields(IfcAlignment2DVerSegParabolicArc c, List <string> arrFields, ref int ipos)
 {
     IfcAlignment2DVerticalSegment.parseFields(c, arrFields, ref ipos);
     c.mParabolaConstant = ParserSTEP.ParseDouble(arrFields[ipos++]);
     c.mIsConvex         = ParserSTEP.ParseBool(arrFields[ipos++]);
 }
Exemplo n.º 5
0
 internal static void parseFields(IfcAlignment2DVerSegLine c, List <string> arrFields, ref int ipos)
 {
     IfcAlignment2DVerticalSegment.parseFields(c, arrFields, ref ipos);
 }
Exemplo n.º 6
0
 internal static void parseFields(IfcAlignment2DVerSegCircularArc c, List <string> arrFields, ref int ipos)
 {
     IfcAlignment2DVerticalSegment.parseFields(c, arrFields, ref ipos);
     c.mRadius   = ParserSTEP.ParseDouble(arrFields[ipos++]);
     c.mIsConvex = ParserSTEP.ParseBool(arrFields[ipos++]);
 }
Exemplo n.º 7
0
 protected static void parseFields(IfcAlignment2DVerticalSegment s, List<string> arrFields, ref int ipos)
 {
     IfcAlignment2DSegment.parseFields(s, arrFields, ref ipos);
     s.mStartDistAlong = ParserSTEP.ParseDouble(arrFields[ipos++]);
     s.mHorizontalLength = ParserSTEP.ParseDouble(arrFields[ipos++]);
     s.mStartHeight = ParserSTEP.ParseDouble(arrFields[ipos++]);
     s.mStartGradient = ParserSTEP.ParseDouble(arrFields[ipos++]);
 }
Exemplo n.º 8
0
 protected IfcAlignment2DVerticalSegment(IfcAlignment2DVerticalSegment s)
     : base(s)
 {
     mStartDistAlong = s.mStartDistAlong; mHorizontalLength = s.mHorizontalLength; mStartHeight = s.mStartHeight; mStartGradient = s.mStartGradient;
 }