Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdAveMapping.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.TD {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16
17public class OdAveMapping : global::System.IDisposable {
18 private Object locker = new Object();
19 private HandleRef swigCPtr;
20 protected bool swigCMemOwn;
21 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
22 public OdAveMapping(IntPtr cPtr, bool cMemoryOwn) {
23 swigCMemOwn = cMemoryOwn;
24 swigCPtr = new HandleRef(this, cPtr);
25 }
26 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 public static HandleRef getCPtr(OdAveMapping obj) {
28 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
29 }
30
32 Dispose(false);
33 }
34
35 public void Dispose() {
36 Dispose(true);
37 global::System.GC.SuppressFinalize(this);
38 }
39
40 protected virtual void Dispose(bool disposing) {
41 lock(this) {
42 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
43 if (swigCMemOwn) {
44 swigCMemOwn = false;
46 }
47 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
48 }
49 }
50 }
51
52 public OdAveMapping() : this(TD_DbPINVOKE.new_OdAveMapping(), true) {
54 }
55
56 public bool getMapping(OdDbObjectId objectId) {
57 bool ret = TD_DbPINVOKE.OdAveMapping_getMapping(swigCPtr, OdDbObjectId.getCPtr(objectId));
59 return ret;
60 }
61
62 public void setMapping(OdDbObjectId objectId) {
65 }
66
67 public static void clearMapping(OdDbObjectId objectId) {
70 }
71
73 set {
76 }
77 get {
80 return ret;
81 }
82 }
83
85 set {
88 }
89 get {
90 global::System.IntPtr cPtr = TD_DbPINVOKE.OdAveMapping_m_Pt1_get(swigCPtr);
91 OdGePoint3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGePoint3d(cPtr, false);
93 return ret;
94 }
95 }
96
98 set {
101 }
102 get {
103 global::System.IntPtr cPtr = TD_DbPINVOKE.OdAveMapping_m_Pt2_get(swigCPtr);
104 OdGePoint3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGePoint3d(cPtr, false);
106 return ret;
107 }
108 }
109
111 set {
114 }
115 get {
116 global::System.IntPtr cPtr = TD_DbPINVOKE.OdAveMapping_m_Pt3_get(swigCPtr);
117 OdGePoint3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGePoint3d(cPtr, false);
119 return ret;
120 }
121 }
122
124 set {
127 }
128 get {
129 global::System.IntPtr cPtr = TD_DbPINVOKE.OdAveMapping_m_Pt4_get(swigCPtr);
130 OdGePoint3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGePoint3d(cPtr, false);
132 return ret;
133 }
134 }
135
137 set {
140 }
141 get {
144 return ret;
145 }
146 }
147
149 set {
152 }
153 get {
154 global::System.IntPtr cPtr = TD_DbPINVOKE.OdAveMapping_m_Scale_get(swigCPtr);
155 OdGePoint3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGePoint3d(cPtr, false);
157 return ret;
158 }
159 }
160
162 set {
165 }
166 get {
167 global::System.IntPtr cPtr = TD_DbPINVOKE.OdAveMapping_m_Offset_get(swigCPtr);
168 OdGePoint3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGePoint3d(cPtr, false);
170 return ret;
171 }
172 }
173
175 set {
178 }
179 get {
180 global::System.IntPtr cPtr = TD_DbPINVOKE.OdAveMapping_m_Transform_get(swigCPtr);
181 OdGeMatrix3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeMatrix3d(cPtr, false);
183 return ret;
184 }
185 }
186
187}
188
189}
static HandleRef getCPtr(OdGeMatrix3d obj)
Definition: OdGeMatrix3d.cs:26
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
static void clearMapping(OdDbObjectId objectId)
Definition: OdAveMapping.cs:67
OdAveMapping(IntPtr cPtr, bool cMemoryOwn)
Definition: OdAveMapping.cs:22
OdGeMatrix3d m_Transform
bool getMapping(OdDbObjectId objectId)
Definition: OdAveMapping.cs:56
static HandleRef getCPtr(OdAveMapping obj)
Definition: OdAveMapping.cs:27
void setMapping(OdDbObjectId objectId)
Definition: OdAveMapping.cs:62
virtual void Dispose(bool disposing)
Definition: OdAveMapping.cs:40
static HandleRef getCPtr(OdDbObjectId obj)
Definition: OdDbObjectId.cs:27
static global::System.Exception Retrieve()
static void OdAveMapping_m_Transform_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdAveMapping_m_Pt4_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdAveMapping_m_Pt3_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdAveMapping_m_Pt1_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdAveMapping_m_Tile_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr OdAveMapping_m_Pt3_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdAveMapping_m_Pt2_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdAveMapping_m_Tile_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdAveMapping_m_Transform_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdAveMapping_m_Pt4_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAveMapping_setMapping(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdAveMapping_m_MappingType_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdAveMapping(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdAveMapping_getMapping(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdAveMapping_m_Offset_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdAveMapping_clearMapping(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdAveMapping_m_Pt1_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAveMapping_m_Scale_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdAveMapping_m_Scale_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAveMapping_m_MappingType_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr OdAveMapping_m_Offset_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAveMapping_m_Pt2_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)