private IList <Polyline3D> GetPolylines() { IList <Polyline3D> polyline3DList = (IList <Polyline3D>) new List <Polyline3D>(); try { Class608 class608 = this.method_14(Class795.Enum30.const_0).method_3(new Class258(0.01, false)); WW.Math.Point3D[] points = class608.Points; foreach (Class608.Interface36 wire in class608.Wires) { int[] indexes = wire.Indexes; bool closed = indexes.Length > 0 && indexes[0] == indexes[indexes.Length - 1]; Polyline3D polyline3D = new Polyline3D(indexes.Length, closed); foreach (int index in indexes) { polyline3D.Add(points[index]); } polyline3DList.Add(polyline3D); } } catch (Exception0 ex) { Console.Error.WriteLine((object)ex); } catch (Exception ex) { Console.Error.WriteLine((object)ex); } return(polyline3DList); }
public override void vmethod_3(Class608 wires) { if (this.class81_0 != null && this.class81_0 is Class82) { ((Class82)this.class81_0).SurfacePrimitive.vmethod_2(this.FirstLoop, wires); } else { Class80.smethod_2((Class80)this.FirstLoop, wires); } }
public static void smethod_2(Class80 startEntity, Class608 wires) { Class80 class80 = startEntity; while (class80 != null) { class80.vmethod_3(wires); class80 = class80.Next; if (class80 == startEntity) { break; } } }
public override void vmethod_3(Class608 wires) { try { wires.method_3(this.class185_0 != null ? this.class185_0.Transformation : Matrix4D.Identity); Class80.smethod_2((Class80)this.class100_0, wires); Class80.smethod_2((Class80)this.FirstShell, wires); Class80.smethod_2((Class80)this.FirstWire, wires); } finally { wires.method_4(); } }
public override void vmethod_3(Class608 wires) { try { if (this.class96_0.Curve != null) { Class917 approximation = new Class917(); ((Class88)this.class96_0.Curve).CurvePrimitive.imethod_3((Class95)this.class80_1, (Class88)this.class96_0.Curve, this, approximation, wires.Accuracy); wires.method_9((ICollection <Point3D>)approximation.Points, false); return; } } catch (InvalidCastException ex) { } this.class96_0.vmethod_3(wires); }
public virtual void vmethod_3(Class608 wires) { }
public override void vmethod_3(Class608 wires) { Class80.smethod_2((Class80)this.FirstCoedge, wires); }
public override void vmethod_3(Class608 wires) { wires.method_6(this.StartVertex.Point, this.EndVertex.Point); }
public override void vmethod_3(Class608 wires) { int num = wires.method_2(this.class105_0); wires.method_5(num, num); }
// Token: 0x0600290C RID: 10508 // RVA: 0x00103058 File Offset: 0x00101258 internal Class85(Class608 class608_1, string string_0, Vector2 vector2_0, float float_2, bool bool_3, EventHandler eventHandler_5) : base(Class115.class114_0) { this.vmethod_1(false); this.class608_0 = class608_1; this.method_3(eventHandler_5); this.float_1 = float_2; this.class531_0 = new Class531(Class885.Load("volume-circle-bg", Enum112.flag_1), Enum115.const_9, Origins.Centre, Enum114.const_0, vector2_0, 0.97f, true, this.color_1, null); this.class531_0.bool_1 = true; this.class531_0.method_35(new EventHandler(this.method_4)); this.class911_0.Add(this.class531_0); this.class531_1 = new Class531(Class885.Load("volume-circle-fg", Enum112.flag_1), Enum115.const_9, Origins.Centre, Enum114.const_0, vector2_0, 0.98f, true, this.color_1, null); this.class911_1.Add(this.class531_1); this.class531_2 = new Class531(Class885.Load("volume-circle-fg2", Enum112.flag_1), Enum115.const_9, Origins.Centre, Enum114.const_0, vector2_0, 0.99f, true, Color.get_White(), null); this.class911_1.Add(this.class531_2); this.class533_0 = new Class533(string.Empty, 14f, vector2_0, 0.991f, true, Color.get_White()) { enum115_0 = Enum115.const_9, origins_0 = Origins.Centre }; this.class911_1.Add(this.class533_0); Class533 class530_ = new Class533(string_0, 12f, new Vector2(vector2_0.X, 220f), 0.991f, true, Color.get_White()) { enum115_0 = Enum115.const_9, origins_0 = Origins.Centre }; this.class911_2.Add(class530_); this.class82_0.color_0 = Color.get_White(); this.class82_0.float_2 = 1f; List<Class530> arg_23E_0 = this.class911_1.list_2; if (Class85.action_0 == null) { Class85.action_0 = new Action<Class530>(Class85.smethod_0); } arg_23E_0.ForEach(Class85.action_0); this.class911_0.list_2.ForEach(delegate(Class530 class530_0) { class530_0.float_3 = 0f; }); this.class911_2.list_2.ForEach(delegate(Class530 class530_0) { class530_0.float_3 = 0f; }); this.method_2(bool_3); }
protected override void vmethod_0(Class608 wires, Polygon2D[] paramShape, Interface26 mapper) { }
// Token: 0x06001973 RID: 6515 // RVA: 0x000793A8 File Offset: 0x000775A8 public static void Initialize() { if (Class341.dictionary_0.Count > 0) { return; } Class341.smethod_2("osu!.cfg"); Class341.smethod_2(Class341.smethod_1()); Class115.class605_0 = Class341.ReadString("BeatmapDirectory", "Songs"); Class115.class605_0.Value = Class34.smethod_15(Class115.class605_0.Value); if (!Directory.Exists(Class115.class605_0.Value)) { Class115.class605_0.Value = "Songs"; Class723.smethod_4(Class41.GetString(OsuString.ConfigManager_SongFolderNotFound)); } Class331.class608_2 = Class341.smethod_10("VolumeUniversal", 100, 0, 100); Class331.class608_0 = Class341.smethod_10("VolumeEffect", 80, 0, 100); Class331.class608_1 = Class341.smethod_10("VolumeMusic", 80, 0, 100); Class341.class606_1 = Class341.smethod_9("AllowPublicInvites", true); Class341.class606_2 = Class341.smethod_9("AutoChatHide", true); Class341.class606_3 = Class341.smethod_9("AutomaticDownload", true); Class341.class606_0 = Class341.smethod_9("BlockNonFriendPM", false); Class341.class606_4 = Class341.smethod_9("Bloom", false); Class341.class606_5 = Class341.smethod_9("BloomSoftening", false); Class341.class606_6 = Class341.smethod_9("BossKeyFirstActivation", true); Class341.class606_7 = Class341.smethod_9("ChatAudibleHighlight", true); Class341.class605_9 = Class341.ReadString("ChatChannels", string.Empty); Class341.class606_9 = Class341.smethod_9("ChatFilter", false); Class341.class606_10 = Class341.smethod_9("ChatHighlightName", true); Class341.class605_10 = Class341.ReadString("ChatLastChannel", string.Empty); Class341.class606_11 = Class341.smethod_9("ChatRemoveForeign", false); Class341.class605_22 = Class341.smethod_8<Enum102>("ChatSortMode", Enum102.const_1, false); Class341.class606_12 = Class341.smethod_9("ComboBurst", true); Class341.class606_13 = Class341.smethod_9("ComboFire", false); Class341.class607_1 = Class341.smethod_10("ComboFireHeight", 3, -2147483648, 2147483647); Class341.class606_14 = Class341.smethod_9("ConfirmExit", false); Class341.class606_67 = Class341.smethod_9("AutoSendNowPlaying", true); Class341.class607_0 = Class341.ReadDouble("CursorSize", 1.0, 0.5, 2.0); Class341.class606_68 = Class341.smethod_9("AutomaticCursorSizing", false); Class341.class608_1 = Class341.smethod_10("DimLevel", 30, 0, 100); Class341.class608_13 = Class341.smethod_10("Display", 1, -2147483648, 2147483647); Class341.class606_15 = Class341.smethod_9("DisplayCityLocation", false); Class341.class606_16 = Class341.smethod_9("DistanceSpacingEnabled", true); Class341.class608_4 = Class341.smethod_10("EditorTip", 0, -2147483648, 2147483647); Class341.class606_17 = Class341.smethod_9("VideoEditor", Class341.class606_69); Class341.class606_18 = Class341.smethod_9("EditorDefaultSkin", false); Class341.class606_25 = Class341.smethod_9("FastEditor", false); Class341.class606_19 = Class341.smethod_9("EditorSnakingSliders", true); Class341.class606_20 = Class341.smethod_9("EditorHitAnimations", false); Class341.class606_21 = Class341.smethod_9("EditorFollowPoints", true); Class341.class606_22 = Class341.smethod_9("EditorStacking", true); Class341.class606_26 = Class341.smethod_9("ForceSliderRendering", false); Class341.class606_27 = Class341.smethod_9("FpsCounter", false); Class341.class605_0 = Class341.smethod_8<FrameSync>("FrameSync", FrameSync.Limit120, false); Class341.class605_1 = Class341.smethod_8<FrameSync>("FrameSyncGl", FrameSync.VSync, false); Class341.class605_11 = Class341.ReadString("GuideTips", ""); Class341.class606_23 = Class341.smethod_9("CursorRipple", false); Class341.class605_13 = Class341.ReadString("HighlightWords", string.Empty); Class341.class606_28 = Class341.smethod_9("HighResolution", false); Class341.class606_29 = Class341.smethod_9("HitLighting", true); Class341.class606_30 = Class341.smethod_9("IgnoreBarline", false); Class341.class606_31 = Class341.smethod_9("IgnoreBeatmapSamples", false); Class341.class606_32 = Class341.smethod_9("IgnoreBeatmapSkins", false); Class341.class605_14 = Class341.ReadString("IgnoreList", string.Empty); Class341.class606_33 = Class341.smethod_9("Joystick", false); Class341.class606_34 = Class341.smethod_9("KeyOverlay", false); Class341.class605_3 = Class341.ReadString("Language", "unknown"); Class68.class605_0 = Class341.smethod_8<PlayModes>("LastPlayMode", PlayModes.Osu, false); Class341.class605_15 = Class341.ReadString("LastVersion", string.Empty); Class341.class605_16 = Class341.ReadString("LastVersionPermissionsFailed", string.Empty); Class341.class606_35 = Class341.smethod_9("LoadSubmittedThread", true); Class341.class608_14 = Class341.smethod_10("LobbyPlayMode", -1, -2147483648, 2147483647); Class341.class606_75 = Class341.smethod_9("ShowInterface", true); Class341.class606_36 = Class341.smethod_9("LobbyShowExistingOnly", false); Class341.class606_37 = Class341.smethod_9("LobbyShowFriendsOnly", false); Class341.class606_38 = Class341.smethod_9("LobbyShowFull", false); Class341.class606_39 = Class341.smethod_9("LobbyShowInProgress", true); Class341.class606_40 = Class341.smethod_9("LobbyShowPassworded", true); Class341.class606_41 = Class341.smethod_9("LogPrivateMessages", false); Class341.class606_42 = Class341.smethod_9("LowResolution", false); Class341.class608_7 = Class341.smethod_10("ManiaSpeed", 12, 1, 40); Class341.class606_72 = Class341.smethod_9("UsePerBeatmapManiaSpeed", true); Class341.class606_73 = Class341.smethod_9("ManiaSpeedBPMScale", true); Class341.class608_8 = Class341.smethod_10("MenuTip", 0, -2147483648, 2147483647); Class341.class606_43 = Class341.smethod_9("MouseDisableButtons", false); Class341.class606_44 = Class341.smethod_9("MouseDisableWheel", false); Class341.class607_3 = Class341.ReadDouble("MouseSpeed", 1.0, 0.4, 6.0); Class341.class608_9 = Class341.smethod_10("Offset", 0, -300, 300); Class341.class607_4 = Class341.ReadDouble("ScoreMeterScale", 1.0, 0.5, 2.0); Class341.class607_2 = Class341.ReadDouble("DistanceSpacing", 0.8, 0.5, 32.0); Class341.class608_2 = Class341.smethod_10("EditorBeatDivisor", 1, 1, 16); Class341.class608_3 = Class341.smethod_10("EditorGridSize", 32, 4, 32); Class341.class608_5 = Class341.smethod_10("Height", 9999, Class115.bool_16 ? 0 : 240, 9999); Class341.class608_11 = Class341.smethod_10("Width", 9999, Class115.bool_16 ? 0 : 320, 9999); Class341.class608_6 = Class341.smethod_10("HeightFullscreen", 9999, 240, 9999); Class341.class608_0 = Class341.smethod_10("CustomFrameLimit", 240, Class115.bool_16 ? 30 : 240, 1000); if (Class341.class608_0.Value == 60 || Class341.class608_0.Value == 120) { Class341.class608_0.Value = 240; } Class341.class608_12 = Class341.smethod_10("WidthFullscreen", 9999, 320, 9999); Class341.class606_45 = Class341.smethod_9("MsnIntegration", false); Class341.class606_46 = Class341.smethod_9("MyPcSucks", false); Class341.class606_47 = Class341.smethod_9("NotifyFriends", true); Class341.class606_48 = Class341.smethod_9("NotifySubmittedThread", true); Class341.class606_50 = Class341.smethod_9("PopupDuringGameplay", true); Class341.class605_2 = Class341.smethod_8<ProgressBarTypes>("ProgressBarType", ProgressBarTypes.Pie, false); Class341.class605_5 = Class341.smethod_8<RankingType>("RankType", RankingType.Top, false); Class341.class608_10 = Class341.smethod_10("RefreshRate", 60, -2147483648, 2147483647); Class341.class605_18 = Class341.ReadString("Renderer", "d3d"); Class341.class605_6 = Class341.smethod_8<ScaleMode>("ScaleMode", ScaleMode.WidescreenConservative, false); Class341.class606_53 = Class341.smethod_9("ScoreboardVisible", true); Class341.class605_7 = Class341.smethod_8<ScoreMeterType>("ScoreMeter", ScoreMeterType.Error, false); Class341.class605_8 = Class341.smethod_8<ScreenMode>("Fullscreen", ScreenMode.BorderlessWindow, false); Class341.class608_15 = Class341.smethod_10("ScreenshotId", 0, -2147483648, 2147483647); Class341.class606_76 = Class341.smethod_9("MenuSnow", false); Class341.class606_77 = Class341.smethod_9("MenuTriangles", true); Class341.class606_78 = Class341.smethod_9("SongSelectThumbnails", true); Class341.class605_4 = Class341.smethod_8<ImageFileFormat>("ScreenshotFormat", 1, false); Class341.class606_54 = Class341.smethod_9("ShowReplayComments", true); Class341.class606_55 = Class341.smethod_9("ShowSpectators", true); Class341.class606_56 = Class341.smethod_9("ShowStoryboard", true); Class341.class605_19 = Class341.ReadString("Skin", "Default"); Class341.class606_59 = Class341.smethod_9("SkinSamples", true); Class341.class606_60 = Class341.smethod_9("SkipTablet", false); Class341.class606_61 = Class341.smethod_9("SnakingSliders", true); Class341.class606_62 = Class341.smethod_9("Tablet", false); Class341.class606_64 = Class341.smethod_9("UpdatePending", false); Class341.class605_21 = Class341.smethod_8<Enum103>("UserFilter", Enum103.const_0, false); Class341.class606_65 = Class341.smethod_9("UseSkinCursor", false); Class341.class606_66 = Class341.smethod_9("UseTaikoSkin", false); Class341.class606_69 = Class341.smethod_9("Video", true); Class341.class606_70 = Class341.smethod_9("Wiimote", false); Class341.class606_71 = Class341.smethod_9("YahooIntegration", false); Class341.class606_84 = Class341.smethod_9("MenuMusic", true); Class341.class606_85 = Class341.smethod_9("MenuVoice", true); Class341.class606_57 = Class341.smethod_9("MenuParallax", true); Class341.class606_79 = Class341.smethod_9("RawInput", false); Class341.class606_87 = Class341.smethod_9("AbsoluteToOsuWindow", Class341.class606_79.Value); Class341.class606_82 = Class341.smethod_9("ShowMenuTips", true); Class341.class606_86 = Class341.smethod_9("HiddenShowFirstApproach", true); Class341.class606_8 = Class341.smethod_9("ComboColourSliderBall", true); Class341.class606_83 = Class341.smethod_9("AlternativeChatFont", false); Class606 arg_A09_0 = Class341.class606_83; if (Class341.eventHandler_0 == null) { Class341.eventHandler_0 = new EventHandler(Class341.smethod_15); } arg_A09_0.imethod_2(Class341.eventHandler_0); Class341.class605_17 = Class341.ReadString("Password", string.Empty); Class341.class605_20 = Class341.ReadString("Username", string.Empty); Class341.class605_12 = Class341.ReadString("AudioDevice", string.Empty); Class605<string> arg_A6C_0 = Class341.class605_12; if (Class341.eventHandler_1 == null) { Class341.eventHandler_1 = new EventHandler(Class341.smethod_16); } arg_A6C_0.imethod_2(Class341.eventHandler_1); Class341.class605_25 = Class341.smethod_8<ReleaseStream>("_ReleaseStream", ReleaseStream.Stable, true); Class341.class608_17 = Class341.smethod_10("_UpdateFailCount", 0, -2147483648, 2147483647); Class605<ReleaseStream> arg_ABE_0 = Class341.class605_25; if (Class341.eventHandler_2 == null) { Class341.eventHandler_2 = new EventHandler(Class341.smethod_17); } arg_ABE_0.imethod_2(Class341.eventHandler_2); Class606 arg_AE5_0 = Class341.class606_67; if (Class341.eventHandler_3 == null) { Class341.eventHandler_3 = new EventHandler(Class341.smethod_18); } arg_AE5_0.imethod_2(Class341.eventHandler_3); Class606 arg_B0C_0 = Class341.class606_55; if (Class341.eventHandler_4 == null) { Class341.eventHandler_4 = new EventHandler(Class341.smethod_19); } arg_B0C_0.imethod_2(Class341.eventHandler_4); Class607 arg_B33_0 = Class341.class607_0; if (Class341.eventHandler_5 == null) { Class341.eventHandler_5 = new EventHandler(Class341.smethod_20); } arg_B33_0.imethod_2(Class341.eventHandler_5); Class341.class606_51 = Class341.smethod_9("SavePassword", !string.IsNullOrEmpty(Class341.class605_17)); Class606 arg_B7B_0 = Class341.class606_51; if (Class341.eventHandler_6 == null) { Class341.eventHandler_6 = new EventHandler(Class341.smethod_21); } arg_B7B_0.imethod_2(Class341.eventHandler_6); Class341.class606_52 = Class341.smethod_9("SaveUsername", true); Class606 arg_BB2_0 = Class341.class606_52; if (Class341.eventHandler_7 == null) { Class341.eventHandler_7 = new EventHandler(Class341.smethod_22); } arg_BB2_0.imethod_2(Class341.eventHandler_7); Class606 arg_BD9_0 = Class341.class606_73; if (Class341.eventHandler_8 == null) { Class341.eventHandler_8 = new EventHandler(Class341.smethod_23); } arg_BD9_0.imethod_2(Class341.eventHandler_8); Class606 arg_C00_0 = Class341.class606_72; if (Class341.eventHandler_9 == null) { Class341.eventHandler_9 = new EventHandler(Class341.smethod_24); } arg_C00_0.imethod_2(Class341.eventHandler_9); if (!Class341.class606_51) { Class341.dictionary_0["Password"] = string.Empty; } if (!Class341.class606_52) { Class341.dictionary_0["Username"] = string.Empty; } Class341.class605_23 = Class341.smethod_8<TreeGroupMode>("TreeSortMode", TreeGroupMode.Search, false); Class341.class605_24 = Class341.smethod_8<TreeSortMode>("TreeSortMode2", TreeSortMode.Title, false); Class605<string> arg_C8A_0 = Class341.class605_13; if (Class341.eventHandler_10 == null) { Class341.eventHandler_10 = new EventHandler(Class341.smethod_25); } arg_C8A_0.imethod_2(Class341.eventHandler_10); Class605<string> arg_CB1_0 = Class341.class605_14; if (Class341.eventHandler_11 == null) { Class341.eventHandler_11 = new EventHandler(Class341.smethod_26); } arg_CB1_0.imethod_2(Class341.eventHandler_11); Class802.smethod_29(); Class605<string> arg_CDE_0 = Class341.class605_3; if (Class341.eventHandler_12 == null) { Class341.eventHandler_12 = new EventHandler(Class341.smethod_27); } arg_CDE_0.imethod_2(Class341.eventHandler_12); Class341.class606_81 = new Class606(false); Class341.class606_80 = new Class606(false); Class605<string> arg_D1B_0 = Class341.class605_18; if (Class341.eventHandler_13 == null) { Class341.eventHandler_13 = new EventHandler(Class341.smethod_28); } arg_D1B_0.imethod_2(Class341.eventHandler_13); Class606 arg_D42_0 = Class341.class606_81; if (Class341.eventHandler_14 == null) { Class341.eventHandler_14 = new EventHandler(Class341.smethod_29); } arg_D42_0.imethod_2(Class341.eventHandler_14); Class606 arg_D69_0 = Class341.class606_80; if (Class341.eventHandler_15 == null) { Class341.eventHandler_15 = new EventHandler(Class341.smethod_30); } arg_D69_0.imethod_2(Class341.eventHandler_15); Class341.class605_18.method_0(); Class605<string> arg_D9A_0 = Class341.class605_18; if (Class341.eventHandler_16 == null) { Class341.eventHandler_16 = new EventHandler(Class341.smethod_31); } arg_D9A_0.imethod_2(Class341.eventHandler_16); Class606 arg_DC1_0 = Class341.class606_79; if (Class341.eventHandler_17 == null) { Class341.eventHandler_17 = new EventHandler(Class341.smethod_32); } arg_DC1_0.imethod_2(Class341.eventHandler_17); Class606 arg_DE8_0 = Class341.class606_62; if (Class341.eventHandler_18 == null) { Class341.eventHandler_18 = new EventHandler(Class341.smethod_33); } arg_DE8_0.imethod_2(Class341.eventHandler_18); Class607 arg_E0F_0 = Class341.class607_3; if (Class341.eventHandler_19 == null) { Class341.eventHandler_19 = new EventHandler(Class341.smethod_34); } arg_E0F_0.imethod_2(Class341.eventHandler_19); Class606 arg_E36_0 = Class341.class606_27; if (Class341.eventHandler_20 == null) { Class341.eventHandler_20 = new EventHandler(Class341.smethod_35); } arg_E36_0.imethod_2(Class341.eventHandler_20); Class341.class606_74 = new Class606(false); Class605<ScreenMode> arg_E68_0 = Class341.class605_8; if (Class341.eventHandler_21 == null) { Class341.eventHandler_21 = new EventHandler(Class341.smethod_36); } arg_E68_0.imethod_2(Class341.eventHandler_21); Class341.class605_8.method_0(); Class606 arg_E99_0 = Class341.class606_74; if (Class341.eventHandler_22 == null) { Class341.eventHandler_22 = new EventHandler(Class341.smethod_37); } arg_E99_0.imethod_2(Class341.eventHandler_22); Class605<FrameSync> arg_EC0_0 = Class341.class605_0; if (Class341.eventHandler_23 == null) { Class341.eventHandler_23 = new EventHandler(Class341.smethod_38); } arg_EC0_0.imethod_2(Class341.eventHandler_23); Class341.class605_26 = new Class605<FrameSync>(Class341.class606_80 ? Class341.class605_1 : Class341.class605_0); Class605<FrameSync> arg_F0E_0 = Class341.class605_26; if (Class341.eventHandler_24 == null) { Class341.eventHandler_24 = new EventHandler(Class341.smethod_39); } arg_F0E_0.imethod_2(Class341.eventHandler_24); Class606 arg_F35_0 = Class341.class606_4; if (Class341.eventHandler_25 == null) { Class341.eventHandler_25 = new EventHandler(Class341.smethod_40); } arg_F35_0.imethod_2(Class341.eventHandler_25); Class606 arg_F5C_0 = Class341.class606_5; if (Class341.eventHandler_26 == null) { Class341.eventHandler_26 = new EventHandler(Class341.smethod_41); } arg_F5C_0.imethod_2(Class341.eventHandler_26); bool bool_ = false; string a; if ((a = Class341.class605_3) != null && (a == "zh" || a == "ja" || a == "ko")) { bool_ = true; } Class341.class606_58 = Class341.smethod_9("ShowUnicode", bool_); Class341.class606_49 = Class341.smethod_9("PermanentSongInfo", false); Class341.class606_63 = Class341.smethod_9("Ticker", false); Class606 arg_FEC_0 = Class341.class606_63; if (Class341.eventHandler_27 == null) { Class341.eventHandler_27 = new EventHandler(Class341.smethod_42); } arg_FEC_0.imethod_2(Class341.eventHandler_27); Class606 arg_1013_0 = Class341.class606_2; if (Class341.eventHandler_28 == null) { Class341.eventHandler_28 = new EventHandler(Class341.smethod_43); } arg_1013_0.imethod_2(Class341.eventHandler_28); if (Class341.class606_46) { Class341.class606_13 = false; Class341.class606_4 = false; Class341.class606_5 = false; Class341.class606_29 = false; Class341.class606_12 = false; Class341.class606_61 = false; } if (Class341.class605_18 == "opengl" && Class341.class605_8 == ScreenMode.Fullscreen) { Class341.class605_8.Value = ScreenMode.BorderlessWindow; } if (Class115.bool_16) { if (Class115.bool_17) { Class341.class606_63.Value = true; Class341.class608_11.Value = (int)Tournament.vector2_1.X; Class341.class608_5.Value = (int)Tournament.vector2_1.Y; } else { Class341.class606_63.Value = false; Class341.class608_11.Value = (int)Tournament.smethod_1().X; Class341.class608_5.Value = (int)Tournament.smethod_1().Y; } Class341.class606_27.Value = false; Class341.class605_19.Value = "User"; Class341.class606_12.Value = false; Class341.class606_13.Value = false; Class341.class606_56.Value = false; Class341.class605_8.Value = ScreenMode.Windowed; Class341.class605_18.Value = "d3d"; Class341.class605_26.Value = FrameSync.Limit240; Class341.class606_47.Value = false; Class341.class606_7.Value = false; Class341.class606_50.Value = false; Class341.class606_3.Value = false; Class341.class605_7 = Class341.smethod_8<ScoreMeterType>("ScoreMeter", ScoreMeterType.Colour, false); Class341.class607_4 = Class341.ReadDouble("ScoreMeterScale", 1.0, 0.5, 1.7976931348623157E+308); Class341.class608_0.Value = Tournament.class43_0.GetValue<int>("fps", 60); Class341.class606_32.Value = true; Class341.class606_85.Value = false; Class331.class608_2.Value = 50; } Class795.Initialize(false); Class111.smethod_69(); }
public override void vmethod_3(Class608 wires) { Class80.smethod_2((Class80)this.ChildSubshell, wires); Class80.smethod_2((Class80)this.FirstFace, wires); Class80.smethod_2((Class80)this.FirstWire, wires); }
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); } }
protected virtual void vmethod_0(Class608 wires, Polygon2D[] paramShape, Interface26 mapper) { }