public override void vmethod_1(Interface9 writer) { Class647.smethod_1(writer, this.enum23_0); if (this.enum23_0 == Class647.Enum23.const_2) { return; } writer.imethod_4(this.int_0); Class883.smethod_1(writer, this.enum34_0); writer.imethod_4(this.int_1); writer.imethod_15(); for (int index = 0; index < this.int_1; ++index) { writer.imethod_7(this.double_0[index]); writer.imethod_4(this.int_2[index]); if ((index + 1) % 5 == 0) { writer.imethod_15(); } } if (this.int_1 % 5 != 0) { writer.imethod_15(); } for (int index = 0; index < this.point2D_0.Length; ++index) { writer.imethod_7(this.point2D_0[index].X); writer.imethod_7(this.point2D_0[index].Y); if (this.enum23_0 == Class647.Enum23.const_1) { writer.imethod_7(this.double_1[index]); } writer.imethod_15(); } }
public override void vmethod_1(Interface9 writer) { if (this.splineCurve3D_0 == null) { Class647.smethod_1(writer, Class647.Enum23.const_2); } else { if (this.splineCurve3D_0.Weights == null) { Class647.smethod_1(writer, Class647.Enum23.const_0); } else { Class647.smethod_1(writer, Class647.Enum23.const_1); } int degree = this.splineCurve3D_0.KnotInfo.Degree; writer.imethod_4(degree); Class883.smethod_1(writer, this.enum34_0); int length = this.double_0.Length; writer.imethod_4(length); writer.imethod_15(); for (int index = 0; index < length; ++index) { writer.imethod_7(this.double_0[index]); writer.imethod_4(this.int_0[index]); if ((index + 1) % 5 == 0) { writer.imethod_15(); } } if (length % 5 == 0) { writer.imethod_15(); } for (int index = 0; index < this.splineCurve3D_0.ControlPoints.Length; ++index) { writer.imethod_7(this.splineCurve3D_0.ControlPoints[index].X); writer.imethod_7(this.splineCurve3D_0.ControlPoints[index].Y); writer.imethod_7(this.splineCurve3D_0.ControlPoints[index].Z); if (this.splineCurve3D_0.Weights != null) { writer.imethod_7(this.splineCurve3D_0.Weights[index]); } writer.imethod_15(); } } }
public void imethod_1(Interface9 writer) { Class647.smethod_1(writer, this.enum23_0); if (this.enum23_0 == Class647.Enum23.const_2) { return; } writer.imethod_4(this.int_2); writer.imethod_4(this.int_3); writer.imethod_15(); if (this.enum23_0 == Class647.Enum23.const_1) { Class195.smethod_1(writer, this.enum2_0); } writer.imethod_10(Class883.string_0, (int)this.enum34_0); writer.imethod_10(Class883.string_0, (int)this.enum34_1); writer.imethod_10(Class1028.string_0, (int)this.enum49_0); writer.imethod_10(Class1028.string_0, (int)this.enum49_1); writer.imethod_4(this.double_0.Length); writer.imethod_4(this.double_1.Length); for (int index = 0; index < this.double_0.Length; ++index) { writer.imethod_7(this.double_0[index]); writer.imethod_4(this.int_0[index]); if ((index + 1) % 5 == 0) { writer.imethod_15(); } } if (this.double_0.Length % 5 != 0) { writer.imethod_15(); } for (int index = 0; index < this.double_1.Length; ++index) { writer.imethod_7(this.double_1[index]); writer.imethod_4(this.int_1[index]); if ((index + 1) % 5 == 0) { writer.imethod_15(); } } if (this.double_1.Length % 5 != 0) { writer.imethod_15(); } if (this.enum23_0 == Class647.Enum23.const_1) { for (int index = 0; index < this.point3D_0.Length; ++index) { writer.imethod_7(this.point3D_0[index].X); writer.imethod_7(this.point3D_0[index].Y); writer.imethod_7(this.point3D_0[index].Z); writer.imethod_7(this.double_2[index]); writer.imethod_15(); } } else { for (int index = 0; index < this.point3D_0.Length; ++index) { writer.imethod_7(this.point3D_0[index].X); writer.imethod_7(this.point3D_0[index].Y); writer.imethod_7(this.point3D_0[index].Z); writer.imethod_15(); } } }