Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGiMapper.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 OdGiMapper : 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 OdGiMapper(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(OdGiMapper obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
30 ~OdGiMapper() {
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
51 public static OdGiMapper kIdentity {
52 get {
53 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiMapper_kIdentity_get();
54 OdGiMapper ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGiMapper(cPtr, false);
56 return ret;
57 }
58 }
59
60 public OdGiMapper() : this(GlobalsPINVOKE.new_OdGiMapper__SWIG_0(), true) {
62 }
63
64 public OdGiMapper(OdGiMapper mapper) : this(GlobalsPINVOKE.new_OdGiMapper__SWIG_1(OdGiMapper.getCPtr(mapper)), true) {
66 }
67
68 public OdGiMapper Assign(OdGiMapper mapper) {
69 OdGiMapper ret = new OdGiMapper(GlobalsPINVOKE.OdGiMapper_Assign(swigCPtr, OdGiMapper.getCPtr(mapper)), false);
71 return ret;
72 }
73
74 public bool IsEqual(OdGiMapper mapper) {
75 bool ret = GlobalsPINVOKE.OdGiMapper_IsEqual(swigCPtr, OdGiMapper.getCPtr(mapper));
77 return ret;
78 }
79
80 public bool IsNotEqual(OdGiMapper mapper) {
81 bool ret = GlobalsPINVOKE.OdGiMapper_IsNotEqual(swigCPtr, OdGiMapper.getCPtr(mapper));
83 return ret;
84 }
85
89 }
90
91 public void setUTiling(OdGiMapper.Tiling tiling) {
92 GlobalsPINVOKE.OdGiMapper_setUTiling(swigCPtr, (int)tiling);
94 }
95
96 public void setVTiling(OdGiMapper.Tiling tiling) {
97 GlobalsPINVOKE.OdGiMapper_setVTiling(swigCPtr, (int)tiling);
99 }
100
104 }
105
109 return ret;
110 }
111
115 return ret;
116 }
117
121 return ret;
122 }
123
127 return ret;
128 }
129
133 return ret;
134 }
135
136 public void setTransform(OdGeMatrix3d tm) {
139 }
140
146
152
153 public enum Projection {
155 kPlanar = 1,
156 kBox = 2,
157 kCylinder = 3,
158 kSphere = 4,
159 kDgnParametric = 0x32,
160 kDgnPlanar = 0x33,
161 kDgnCylinder = 0x34,
162 kDgnCylinderCapped = 0x35,
163 kDgnSphere = 0x36
164 }
165
166 public enum Tiling {
167 kInheritTiling = 0,
168 kTile = 1,
169 kCrop = 2,
170 kClamp = 3,
171 kMirror = 4
172 }
173
174 [System.Flags] public enum AutoTransform {
176 kNone = 0x1,
177 kObject = 0x2,
178 kModel = 0x4
179 }
180
181}
182
183}
static global::System.Exception Retrieve()
static global::System.IntPtr OdGiMapper_kIdentity_get()
static int OdGiMapper_autoTransform(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiMapper_setUTiling(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool OdGiMapper_IsNotEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdGiMapper_vTiling(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiMapper_setAutoTransform(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static int OdGiMapper_uTiling(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiMapper_setVTiling(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr OdGiMapper_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGiMapper_transform__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiMapper_setTransform(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_OdGiMapper(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiMapper_setProjection(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static int OdGiMapper_projection(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiMapper_IsEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static HandleRef getCPtr(OdGeMatrix3d obj)
Definition: OdGeMatrix3d.cs:26
OdGiMapper Assign(OdGiMapper mapper)
Definition: OdGiMapper.cs:68
static OdGiMapper kIdentity
Definition: OdGiMapper.cs:51
virtual void Dispose(bool disposing)
Definition: OdGiMapper.cs:39
void setVTiling(OdGiMapper.Tiling tiling)
Definition: OdGiMapper.cs:96
OdGiMapper.Projection projection()
Definition: OdGiMapper.cs:112
static HandleRef getCPtr(OdGiMapper obj)
Definition: OdGiMapper.cs:26
OdGiMapper.Tiling uTiling()
Definition: OdGiMapper.cs:118
OdGeMatrix3d transform()
Definition: OdGiMapper.cs:106
OdGiMapper(OdGiMapper mapper)
Definition: OdGiMapper.cs:64
bool IsEqual(OdGiMapper mapper)
Definition: OdGiMapper.cs:74
OdGiMapper.Tiling vTiling()
Definition: OdGiMapper.cs:124
void setProjection(OdGiMapper.Projection projection)
Definition: OdGiMapper.cs:86
bool IsNotEqual(OdGiMapper mapper)
Definition: OdGiMapper.cs:80
OdGiMapper.AutoTransform autoTransform()
Definition: OdGiMapper.cs:130
OdGiMapper(IntPtr cPtr, bool cMemoryOwn)
Definition: OdGiMapper.cs:21
Teigha.Core.OdGiMapper.AutoTransform vb_autoTransform()
Definition: OdGiMapper.cs:151
Teigha.Core.OdGiMapper.Projection vb_projection()
Definition: OdGiMapper.cs:145
void setUTiling(OdGiMapper.Tiling tiling)
Definition: OdGiMapper.cs:91
void setTransform(OdGeMatrix3d tm)
Definition: OdGiMapper.cs:136
void setAutoTransform(OdGiMapper.AutoTransform autoTransform)
Definition: OdGiMapper.cs:101