Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
DWGBodyOccurrence.cs
Go to the documentation of this file.
1//------------------------------------------------------------------------------
2// <auto-generated />
3//
4// This file was automatically generated by SWIG (http://www.swig.org).
5// Version 4.0.2
6//
7// Do not make changes to this file unless you know what you are doing--modify
8// the SWIG interface file instead.
9//------------------------------------------------------------------------------
10
11namespace Teigha.Core {
12
13using System;
14using System.Runtime.InteropServices;
15
16public class DWGBodyOccurrence : global::System.IDisposable {
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 protected bool swigCMemOwn;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public DWGBodyOccurrence(IntPtr cPtr, bool cMemoryOwn) {
22 swigCMemOwn = cMemoryOwn;
23 swigCPtr = new HandleRef(this, cPtr);
24 }
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(DWGBodyOccurrence obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
31 Dispose(false);
32 }
33
34 public void Dispose() {
35 Dispose(true);
36 global::System.GC.SuppressFinalize(this);
37 }
38
39 protected virtual void Dispose(bool disposing) {
40 lock(this) {
41 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
42 if (swigCMemOwn) {
43 swigCMemOwn = false;
45 }
46 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
47 }
48 }
49 }
50
66
68 set {
71 }
72 get {
73 global::System.IntPtr cPtr = GlobalsPINVOKE.DWGBodyOccurrence_handle_get(swigCPtr);
74 OdDbHandle ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbHandle(cPtr, false);
76 return ret;
77 }
78 }
79
80 public OdGUID bodyVer {
81 set {
84 }
85 get {
86 global::System.IntPtr cPtr = GlobalsPINVOKE.DWGBodyOccurrence_bodyVer_get(swigCPtr);
87 OdGUID ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGUID(cPtr, false);
89 return ret;
90 }
91 }
92
94 set {
97 }
98 get {
99 global::System.IntPtr cPtr = GlobalsPINVOKE.DWGBodyOccurrence_transform_get(swigCPtr);
100 OdGeMatrix3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeMatrix3d(cPtr, false);
102 return ret;
103 }
104 }
105
117
118 public DWGBodyOccurrence() : this(GlobalsPINVOKE.new_DWGBodyOccurrence(), true) {
120 }
121
122 public enum Type {
123 kUnchanged = 1,
124 kAdd = 2,
125 kDelete = 3,
126 kUpdate = 4
127 }
128
129}
130
131}
static HandleRef getCPtr(DWGBodyOccurrence obj)
virtual void Dispose(bool disposing)
DWGBodyOccurrence(IntPtr cPtr, bool cMemoryOwn)
static global::System.Exception Retrieve()
static global::System.IntPtr DWGBodyOccurrence_bodyVer_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static int DWGBodyOccurrence_type_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr DWGBodyOccurrence_transform_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void DWGBodyOccurrence_type_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void DWGBodyOccurrence_handle_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void DWGBodyOccurrence_bodyVer_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void DWGBodyOccurrence_transform_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr DWGBodyOccurrence_path_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_DWGBodyOccurrence(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr DWGBodyOccurrence_handle_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void DWGBodyOccurrence_path_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static HandleRef getCPtr(OdDbHandle obj)
Definition OdDbHandle.cs:26
static HandleRef getCPtr(OdGUID obj)
Definition OdGUID.cs:26
static HandleRef getCPtr(OdGeMatrix3d obj)
static HandleRef getCPtr(OdHandleArray obj)