首页
Python
Java
前端
数据库
Linux
Chatgpt专题
开发者工具箱
macad专题
macad.presentation解析events,helpers,multicover,resourcesextention
1.events using System;using System.Collections.Generic;using System.Diagnostics.CodeAnalysis;using System.Windows;using System.Windows.Controls;using System.Windows.Input;using System.Windows.I
阅读更多...
macad.presentation解析converters
1.converters using System; // 导入 System 命名空间,提供基本的系统类型和功能using System.Globalization; // 导入 System.Globalization 命名空间,提供区域性信息的功能using System.Windows; // 导入 System.Windows 命名空间,提供窗口应用程序的基本功能using Sy
阅读更多...
macad.occt解析extentions,tkernel
1. #include "OcctPCH.h" // 包含预编译头文件 OcctPCH.h// 包含生成的 BRep 和 TopoDS 头文件#include "..\Generated\BRep.h"#include "..\Generated\TopoDS.h"// 返回 BRep_TEdge 对象的曲线表示列表System::Collections::Generic::List<M
阅读更多...
macad.managed解析interop,occextentions,occhelper
1. #include "ManagedPCH.h"// 引入System命名空间using namespace System;// 定义Macad命名空间下的Interop子命名空间namespace Macad {namespace Interop{// 定义异常信息结构体public ref struct ExceptionInfo{public:// 异常来源枚举enum class
阅读更多...
macad.interaction解析workspace
1. using Macad.Occt; // 引入Macad.Occt命名空间,提供对OpenCascade CAD内核的访问namespace Macad.Interaction{public sealed class AndSelectionFilter : ISelectionFilter // 定义名为AndSelectionFilter的类,实现了ISelectionFilter接
阅读更多...
macad.common解析interop、serialization、types
1.intertop(互操作) using System;using System.Runtime.InteropServices;namespace Macad.Common.Interop{/// <summary>/// HRESULT 状态码的包装器。/// </summary>[StructLayout(LayoutKind.Explicit)]public readonly st
阅读更多...
macad.core解析auxiliary、components、drawing
1.auxiliary using System;using System.Runtime.CompilerServices;using Macad.Common.Serialization;using Macad.Core.Topology;using Macad.Occt;namespace Macad.Core.Auxiliary{// 标记为需要被序列化的类类型[Seriali
阅读更多...
macad3d解析macad—application,commands,utils
1.macad-properties 设置类型可见,以及语言 using System.Reflection;using System.Resources;using System.Runtime.CompilerServices;using System.Runtime.InteropServices;using System.Windows;// Setting ComVisibl
阅读更多...
macad.commom解析fileio,framework
1fileio using System;using System.Diagnostics;using System.IO;using System.IO.Compression;using System.Linq;using System.Text;using Macad.Common.Serialization;namespace Macad.Common{// 定义一个名为
阅读更多...
macad解析macad-windows篇
1. using System.Diagnostics;using System.Reflection;using Macad.Presentation;namespace Macad.Window{/// <summary>/// Interaction logic for AboutDialog.xaml/// </summary>public partial class AboutD
阅读更多...