public virtual void vmethod_1() { if (Enum50 == Enum5.Const3) { for (var i = 0; i < Int0; i++) { Class940[i] = new Class95(i); } return; } if (Enum50 == Enum5.Const1) { int i; for (i = 0; i < Class1070.method_26(); i++) { Class940[i] = new Class97(i); } while (i < Int0) { Class940[i] = new Class96(i); i++; } return; } for (var i = 0; i < Int0; i++) { Class940[i] = new Class97(i); } }
public override void imethod_3( Class95 loop, Class88 curve, Class107 coedge, Class917 approximation, Class258 accuracy) { Matrix4D canonicalTransformation = this.FromCanonicalTransformation; Interface27 interval = this.Interval; bool directionReversed = coedge.DirectionReversed; Class102 startVertex = coedge.StartVertex; Class102 endVertex = coedge.EndVertex; Interface27 nterface27; if (startVertex != endVertex) { Matrix4D inverse = canonicalTransformation.GetInverse(); Class105 point1 = startVertex.Point; Class105 point2 = endVertex.Point; Point3D point3D1 = point1.method_4(inverse); Point3D point3D2 = point2.method_4(inverse); nterface27 = (Interface27) new Class437(System.Math.Atan2(point3D1.Y, point3D1.X), System.Math.Atan2(point3D2.Y, point3D2.X)); } else { Matrix4D inverse = canonicalTransformation.GetInverse(); Point3D point3D = startVertex.Point.method_4(inverse); double start = System.Math.Atan2(point3D.Y, point3D.X); double end = directionReversed ? start - 2.0 * System.Math.PI : start + 2.0 * System.Math.PI; nterface27 = (Interface27) new Class437(start, end); } int num1 = Class247.smethod_7(this.vector3D_1.GetLength(), accuracy); double start1 = nterface27.Start; double end1 = nterface27.End; if (directionReversed) { if (start1 < end1) { end1 -= 2.0 * System.Math.PI; } } else if (start1 > end1) { end1 += 2.0 * System.Math.PI; } double num2 = (end1 - start1) / (double)num1; approximation.method_0(coedge.StartLocation); for (int index = 1; index < num1; ++index) { double num3 = (double)index * num2 + start1; double x = System.Math.Cos(num3); double y = System.Math.Sin(num3); Point3D point = canonicalTransformation.Transform(new Point3D(x, y, 0.0)); approximation.method_0(point); } approximation.method_0(coedge.EndLocation); }
// Token: 0x0600068E RID: 1678 RVA: 0x00005BFE File Offset: 0x00003DFE public override Class80 vmethod_4() { Class95 @class = new Class95(); @class.method_3(this.methodBase_0); @class.method_1(base.method_0()); return(@class); }
public virtual void imethod_3( Class95 loop, Class88 curve, Class107 coedge, Class917 approximation, Class258 accuracy) { }
public override void imethod_3( Class95 loop, Class88 curve, Class107 coedge, Class917 approximation, Class258 accuracy) { this.class224_0.Approximation?.imethod_3(loop, curve, coedge, approximation, accuracy); }
public override void imethod_3( Class95 loop, Class88 curve, Class107 coedge, Class917 approximation, Class258 accuracy) { approximation.method_0(coedge.StartLocation); approximation.method_0(coedge.EndLocation); }
// Token: 0x06002540 RID: 9536 RVA: 0x000800F8 File Offset: 0x0007E2F8 public Class95 <T> method_1 <T>() where T : Interface17 { Class95 <T> result; using (Class125 @class = new Class125(this.bitmap_1)) { using (Class125 class2 = new Class125(this.bitmap_0)) { result = new Class95 <T>(@class, class2); } } return(result); }
private static void smethod_1(Class857 A_0, Class17 A_1, Class95 A_2) { int num = 0x11; Class396 class2 = A_0.method_11(); while (class2.method_19()) { string str; if ((((str = class2.method_1()) != null) && (str == BookmarkStart.b("匶嘸唺䤼ሾ⍀≂⥄♆❈⡊⡌扎═㙒ⵔ⍖瑘㡚㉜㍞ᑠᑦ", num))) && (class2.method_3() == BookmarkStart.b("儶堸场丼娾", num))) { A_2.method_15(false); } } }
// Token: 0x0600214B RID: 8523 RVA: 0x0006FE18 File Offset: 0x0006E018 public static void smethod_3(this BinaryWriter writer, Class95 <Struct54> jbmp) { if (jbmp == null) { writer.Write(false); return; } writer.Write(true); using (MemoryStream memoryStream = new MemoryStream()) { jbmp.method_2(memoryStream); writer.smethod_6(memoryStream.ToArray()); } }
// Token: 0x060004B0 RID: 1200 RVA: 0x000273A4 File Offset: 0x000255A4 public void imethod_1(bool bool_1, Interface1 interface1_0) { this.bool_0 = bool_1; if (interface1_0 is Class95) { Class95 @class = (Class95)interface1_0; byte[] array = @class.method_0(); if (array.Length != this.int_0) { throw new ArgumentException("initialisation vector must be the same length as block size"); } Array.Copy(array, 0, this.byte_0, 0, array.Length); interface1_0 = @class.method_1(); } this.imethod_5(); this.interface6_0.imethod_1(this.bool_0, interface1_0); }
// Token: 0x0600214A RID: 8522 RVA: 0x0006FDC8 File Offset: 0x0006DFC8 public static Class95 <Struct54> smethod_2(this BinaryReader reader) { if (!reader.ReadBoolean()) { return(null); } byte[] array = reader.smethod_7(); if (array == null) { return(null); } Class95 <Struct54> result; using (MemoryStream memoryStream = new MemoryStream(array)) { result = new Class95 <Struct54>(memoryStream); } return(result); }
// Token: 0x06002541 RID: 9537 RVA: 0x00080158 File Offset: 0x0007E358 public void method_2 <T>(Class95 <T> value) where T : Interface17 { this.method_3(); if (value == null) { if (this.bitmap_0 != null) { this.method_5(); } } else { if (this.bitmap_0 == null) { throw new InvalidOperationException("Cannot use jagged bitmap without an base image."); } this.bitmap_1 = value.method_5(new Color?(this.color_0)); } this.method_4(); }
internal static void smethod_0(Class857 A_0, Class108 A_1) { int num = 15; Section section = A_1.method_8().Clone(); section.SectPr.method_57(SectionBreakType.NoBreak); smethod_1(A_0, section.SectPr); Class95 class2 = (Class95)A_0.method_13().method_3(A_0.method_16(), BookmarkStart.b("䘴制娸伺吼倾⽀", 15), A_0.method_20()); A_0.method_9().Settings.method_5().method_14((class2 != null) && class2.method_14()); if ((class2 != null) && (class2.method_12() != null)) { class2.method_12().method_37(section.SectPr); } A_0.method_29().Push(section); A_0.method_31(true); Class574.smethod_0(A_0, BookmarkStart.b("䘴制娸伺吼倾⽀", num), section.Body); A_0.method_33(true); A_0.method_29().Pop(); }
// Token: 0x06000653 RID: 1619 RVA: 0x00035E5C File Offset: 0x0003405C private Class47 method_10(bool bool_2) { if (!this.bool_0) { bool flag = this.bool_1 || this.symmetricAlgorithm_0 == null; if (this.symmetricAlgorithm_0 == null) { this.symmetricAlgorithm_0 = Class136.smethod_0(); if (this.symmetricAlgorithm_0 == null) { this.bool_0 = true; } } if (this.symmetricAlgorithm_0 != null) { if (flag) { this.symmetricAlgorithm_0.Key = this.method_4(); this.symmetricAlgorithm_0.IV = this.method_6(); this.symmetricAlgorithm_0.Mode = Class136.smethod_1(this.method_0()); this.symmetricAlgorithm_0.Padding = Class136.smethod_2(this.method_2()); } return(new Class48(bool_2 ? this.symmetricAlgorithm_0.CreateEncryptor() : this.symmetricAlgorithm_0.CreateDecryptor())); } } Class92 interface6_ = new Class92(new Class135()); Class65 @class; if (this.method_2() != (Enum1)1) { @class = new Class66(interface6_, Class136.smethod_3(this.method_2())); } else { @class = new Class65(interface6_); } Class95 interface1_ = new Class95(new Class19(this.method_4()), this.method_6()); @class.imethod_1(bool_2, interface1_); return(new Class49(@class)); }
public override void imethod_3( Class95 loop, Class88 curve, Class107 coedge, Class917 approximation, Class258 accuracy) { double fitTolerance; if (!accuracy.Absolute) { Bounds3D controlPolygonBounds = this.splineCurve3D_0.ControlPolygonBounds; fitTolerance = accuracy.method_0(controlPolygonBounds.Delta.GetLength()); } else { fitTolerance = accuracy.Epsilon; } Point3D[] fitPoints = this.splineCurve3D_0.CreateFitPoints(fitTolerance, 0.01); approximation.method_5((IEnumerable <Point3D>)fitPoints, curve.Reversed ^ coedge.DirectionReversed); }
// Token: 0x06002804 RID: 10244 RVA: 0x000121B5 File Offset: 0x000103B5 public Class108(Enum57 playground, PointF dockLocation, Size windowClientSize, Class95 <Struct54> pondCapture, Class150 dockReferenceCapture) { this.Playground = playground; this.DockLocation = dockLocation; this.WindowClientSize = windowClientSize; this.PondCapture = pondCapture; this.DockReferenceCapture = dockReferenceCapture; }
public virtual void vmethod_2(Class95 firstLoop, Class608 wires) { Interface26 pointParamMapper = this.PointParamMapper; if (pointParamMapper != null) { List <Polygon2D> polygon2DList1 = new List <Polygon2D>(); List <Polygon2D> polygon2DList2 = new List <Polygon2D>(); foreach (Class95 loop in (IEnumerable <Class95>)Class80.smethod_0 <Class95>(firstLoop)) { Class917 approximation = new Class917(); Polygon2D polygon2D1 = new Polygon2D(); foreach (ns9.Class107 coedge in (IEnumerable <ns9.Class107>)loop.Coedges) { ns9.Class88 curve = (ns9.Class88)coedge.Edge.Curve; if (curve != null) { curve.CurvePrimitive.imethod_3(loop, curve, coedge, approximation, wires.Accuracy); } else { Polyline2D polyline2D = this.vmethod_1(coedge); polygon2D1.AddRange((IEnumerable <Point2D>)polyline2D); } } if (polygon2D1.Count > 0) { if (pointParamMapper.IsRightHandedParametric) { if (polygon2D1.GetArea() >= 0.0) { polygon2DList1.Add(polygon2D1); } else { polygon2DList2.Add(polygon2D1); } } else if (polygon2D1.GetArea() < 0.0) { polygon2DList1.Add(polygon2D1); } else { polygon2DList2.Add(polygon2D1); } } Point3D[] points = approximation.Points; if (points.Length > 0) { Polygon2D polygon2D2 = new Polygon2D(points.Length); foreach (Point3D point in points) { polygon2D2.Add(pointParamMapper.imethod_0(point)); } if (pointParamMapper.IsRightHandedParametric) { if (polygon2D2.GetArea() >= 0.0) { polygon2DList1.Add(polygon2D2); } else { polygon2DList2.Add(polygon2D2); } } else if (polygon2D2.GetArea() < 0.0) { polygon2DList1.Add(polygon2D2); } else { polygon2DList2.Add(polygon2D2); } } } if (polygon2DList1.Count == 0 && polygon2DList2.Count != 0) { foreach (List <Point2D> point2DList in polygon2DList2) { point2DList.Reverse(); } polygon2DList1.AddRange((IEnumerable <Polygon2D>)polygon2DList2); polygon2DList2.Clear(); } Polygon2D[] paramShape = Class794.smethod_9(this.ExtendedIntervalU, this.ExtendedIntervalV, polygon2DList1.ToArray(), polygon2DList2.ToArray(), pointParamMapper.IsRightHandedParametric, wires.Accuracy.Epsilon); if (paramShape == null) { return; } foreach (Polygon2D polygon2D in paramShape) { Polygon3D polygon3D = new Polygon3D(polygon2D.Count); foreach (Point2D point2D in (List <Point2D>)polygon2D) { polygon3D.Add(pointParamMapper.imethod_1(point2D.X, point2D.Y)); } wires.method_9((ICollection <Point3D>)polygon3D, true); } this.vmethod_0(wires, paramShape, pointParamMapper); } else { Class80.smethod_2((Class80)firstLoop, wires); } }
// Token: 0x060007D8 RID: 2008 RVA: 0x00046258 File Offset: 0x00044458 public override Class80 vmethod_3(Class80 class80_0) { base.method_1(class80_0.method_0()); switch (class80_0.vmethod_2()) { case 2: this.method_3((IntPtr)((int)((Class88)class80_0).method_2())); return(this); case 4: { Class95 @class = (Class95)class80_0; this.method_3(@class.method_4()); return(this); } case 7: this.method_3((IntPtr)((int)((Class85)class80_0).method_2())); return(this); case 8: this.method_3(new IntPtr(Convert.ToInt64(((Class84)class80_0).method_2()))); return(this); case 10: this.method_3((IntPtr)((long)((ulong)((Class92)class80_0).method_2()))); return(this); case 14: this.method_3((IntPtr)((Class98)class80_0).method_2()); return(this); case 15: this.method_3((IntPtr)((long)((Class91)class80_0).method_2())); return(this); case 16: this.method_3((IntPtr)((Class82)class80_0).method_2()); return(this); case 18: this.method_3((IntPtr)((int)((Class94)class80_0).method_2())); return(this); case 19: this.method_3((IntPtr)((long)((Class86)class80_0).method_2())); return(this); case 20: this.method_3((IntPtr)((long)((Class89)class80_0).method_2())); return(this); case 21: this.method_3((IntPtr)((Class90)class80_0).method_2()); return(this); case 23: this.method_3(((Class99)class80_0).method_2()); return(this); case 24: this.method_3((IntPtr)((int)((Class87)class80_0).method_2())); return(this); } throw new ArgumentOutOfRangeException(); }
// Token: 0x0600252D RID: 9517 RVA: 0x0001053C File Offset: 0x0000E73C public void method_1 <T>(Class95 <T> value) where T : Interface17 { this.DrawingBoardRenderer.method_1 <T>(value); }
internal static void smethod_0(Class857 A_0, Class95 A_1) { }
internal static bool smethod_0(Class857 A_0, DocumentObject A_1, Class108 A_2) { int num = 14; A_0.method_39(new Class1052()); A_0.method_38().method_1(A_0.method_11().method_1()); A_0.method_38().method_13(string.Format(BookmarkStart.b("伳ص䔷伻儽㔿ぁ❃⍅", 14), A_0.method_38().method_0())); string str = A_0.method_38().method_0(); if (str != null) { if (!(str == BookmarkStart.b("䀳圵娷嘹夻ጽ⼿⑁楃╅❇⑉㡋⭍㹏♑", num))) { if (!(str == BookmarkStart.b("唳娵䠷刹崻尽┿㙁ⵃ╅⥇♉態❍㹏㙑ㅓ⹕", num))) { goto Label_020E; } A_0.method_38().method_7(FieldType.FieldIndex); A_0.method_38().method_9(BookmarkStart.b("紳砵簷缹搻", num)); } else { A_0.method_38().method_7(FieldType.FieldTOC); A_0.method_38().method_9(BookmarkStart.b("怳礵笷", num)); } Class396 class3 = A_0.method_11(); A_0.method_38().method_5(class3.method_12(BookmarkStart.b("䜳䈵䄷嘹夻ጽ⸿⍁⥃⍅", num), null)); if (Class567.smethod_16(A_0.method_38().method_4())) { Section section = A_2.method_8().Clone(); section.SectPr.method_57(SectionBreakType.NoBreak); Class95 class4 = (Class95)A_0.method_13().method_3(A_0.method_38().method_4(), BookmarkStart.b("䜳匵嬷丹唻儽⸿", num), A_0.method_20()); if ((class4 != null) && (class4.method_12() != null)) { ((Class17)section.SectPr.Clone()).method_37(section.SectPr); } A_0.method_29().Push(section); A_0.method_31(true); } smethod_2(A_0, A_1); smethod_1(A_0); if (A_1 == null) { A_1 = A_0.method_9().LastSection.Body; } List <DocumentObject> childElements = A_1.GetChildElements(DocumentObjectType.Paragraph, false); if (childElements.Count != 0) { Paragraph paragraph1 = (Paragraph)childElements[childElements.Count - 1]; } else { new Paragraph(A_0.method_9()); } if (Class567.smethod_16(A_0.method_38().method_4())) { A_0.method_33(true); A_0.method_29().Pop(); } return(true); } Label_020E: A_0.method_38().method_11(true); smethod_2(A_0, A_1); return(false); }