Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGiLocalDrawableDesc.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
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
20 public OdGiLocalDrawableDesc(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGiLocalDrawableDesc_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGiLocalDrawableDesc obj) {
26 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
27 }
28
29 protected override void Dispose(bool disposing) {
30 lock(this) {
31 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
32 if (swigCMemOwn) {
33 swigCMemOwn = false;
35 }
36 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
37 }
38 base.Dispose(disposing);
39 }
40 }
41
43 set {
46 }
47 get {
50 return ret;
51 }
52 }
53
54 public IntPtr _nSelectionMarker {
55 set {
56 /*SIMPLETYPE*/
59 }
60 get {
61 /*SIMPLETYPE*/
64 return ret;
65 }
66 }
67
69 set {
72 }
73 get {
74 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiLocalDrawableDesc__xModelToWorld_get(swigCPtr);
75 OdGeMatrix3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeMatrix3d(cPtr, false);
77 return ret;
78 }
79 }
80
82 set {
85 }
86 get {
87 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiLocalDrawableDesc__pxModelToWorld_get(swigCPtr);
88 OdGeMatrix3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeMatrix3d(cPtr, false);
90 return ret;
91 }
92 }
93
94 public OdGiLocalDrawableDesc(OdGiDrawableDesc pParentDesc) : this(GlobalsPINVOKE.new_OdGiLocalDrawableDesc(pParentDesc), true) {
96 }
97
99 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiLocalDrawableDesc_parent(swigCPtr);
100 OdGiPathNode ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGiPathNode(cPtr, false);
102 return ret;
103 }
104
106 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiLocalDrawableDesc_persistentDrawableId(swigCPtr);
107 OdDbStub ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbStub(cPtr, false);
109 return ret;
110 }
111
113 OdGiDrawable ret = (OdGiDrawable)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiDrawable),GlobalsPINVOKE.OdGiLocalDrawableDesc_transientDrawable(swigCPtr),false); /*createInt 3_2*/
114
116 return ret;
117}
118
119 public IntPtr selectionMarker() {
120// test csout
121 /*SIMPLETYPE*/
124 return ret;
125 }
126
128 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiLocalDrawableDesc_modelToWorld(swigCPtr);
129 OdGeMatrix3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeMatrix3d(cPtr, false);
131 return ret;
132 }
133
137 }
138
139}
140
141}
static global::System.Exception Retrieve()
static IntPtr OdGiLocalDrawableDesc__nSelectionMarker_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiLocalDrawableDesc__nSelectionMarker_set(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static IntPtr OdGiLocalDrawableDesc_transientDrawable(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiLocalDrawableDesc_modelToWorld(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiLocalDrawableDesc_parent(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiLocalDrawableDesc__pPlaceToRestore_set(global::System.Runtime.InteropServices.HandleRef jarg1, OdGiDrawableDesc jarg2)
static OdGiDrawableDesc OdGiLocalDrawableDesc__pPlaceToRestore_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdGiLocalDrawableDesc(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiLocalDrawableDesc__xModelToWorld_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdGiLocalDrawableDesc_selectionMarker(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiLocalDrawableDesc_persistentDrawableId(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiLocalDrawableDesc_setModelToWorld(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiLocalDrawableDesc__pxModelToWorld_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGiLocalDrawableDesc__pxModelToWorld_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiLocalDrawableDesc__xModelToWorld_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdGeMatrix3d obj)
Definition: OdGeMatrix3d.cs:26
OdGiLocalDrawableDesc(IntPtr cPtr, bool cMemoryOwn)
override void Dispose(bool disposing)
static HandleRef getCPtr(OdGiLocalDrawableDesc obj)
OdGiLocalDrawableDesc(OdGiDrawableDesc pParentDesc)