14using System.Runtime.InteropServices;
17 private Object locker =
new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 swigCPtr =
new HandleRef(
this, cPtr);
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
29 protected override void Dispose(
bool disposing) {
31 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
36 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
38 base.Dispose(disposing);
43 : this(
GlobalsPINVOKE.new_OdGiWorldDraw(), MemoryManager.GetMemoryManager().GetCurrentTransaction() == null)
45 MemoryTransaction mTr = MemoryManager.GetMemoryManager().GetCurrentTransaction();
51 SwigDirectorConnect();
55 MemoryManager mMan = MemoryManager.GetMemoryManager();
56 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
96 MemoryManager mMan = MemoryManager.GetMemoryManager();
97 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
146 private void SwigDirectorConnect() {
147 if (SwigDerivedClassHasMethod(
"queryX", swigMethodTypes0))
149 if (SwigDerivedClassHasMethod(
"isA", swigMethodTypes1))
151 if (SwigDerivedClassHasMethod(
"regenType", swigMethodTypes2))
153 if (SwigDerivedClassHasMethod(
"regenAbort", swigMethodTypes3))
155 if (SwigDerivedClassHasMethod(
"subEntityTraits", swigMethodTypes4))
157 if (SwigDerivedClassHasMethod(
"rawGeometry", swigMethodTypes5))
159 if (SwigDerivedClassHasMethod(
"isDragging", swigMethodTypes6))
161 if (SwigDerivedClassHasMethod(
"deviation", swigMethodTypes7))
163 if (SwigDerivedClassHasMethod(
"numberOfIsolines", swigMethodTypes8))
165 if (SwigDerivedClassHasMethod(
"context", swigMethodTypes9))
167 if (SwigDerivedClassHasMethod(
"currentGiPath", swigMethodTypes10))
169 if (SwigDerivedClassHasMethod(
"displayModelerSilhouettes", swigMethodTypes11))
171 if (SwigDerivedClassHasMethod(
"geometry", swigMethodTypes12))
173 GlobalsPINVOKE.
OdGiWorldDraw_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10, swigDelegate11, swigDelegate12);
176 private bool SwigDerivedClassHasMethod(
string methodName, global::System.Type[] methodTypes) {
177 global::System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, global::System.Reflection.BindingFlags.Public | global::System.Reflection.BindingFlags.NonPublic | global::System.Reflection.BindingFlags.Instance,
null, methodTypes,
null);
178 bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(
OdGiWorldDraw));
179 return hasDerivedMethod;
182 private IntPtr SwigDirectorMethodqueryX(IntPtr protocolClass) {
185 OdRxObject.getCPtr(
queryX(
186 (OdRxClass)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),protocolClass,
false)
191 private IntPtr SwigDirectorMethodisA() {
194 OdRxClass.getCPtr(
isA()).Handle
198 private int SwigDirectorMethodregenType() {
202 private bool SwigDirectorMethodregenAbort() {
206 private IntPtr SwigDirectorMethodsubEntityTraits() {
213 private IntPtr SwigDirectorMethodrawGeometry() {
220 private bool SwigDirectorMethodisDragging() {
224 private double SwigDirectorMethoddeviation(
int deviationType, global::System.IntPtr pointOnCurve) {
228 private UInt32 SwigDirectorMethodnumberOfIsolines() {
232 private IntPtr SwigDirectorMethodcontext() {
235 OdGiContext.getCPtr(
context()).Handle
239 private global::System.IntPtr SwigDirectorMethodcurrentGiPath() {
243 private bool SwigDirectorMethoddisplayModelerSilhouettes() {
247 private IntPtr SwigDirectorMethodgeometry() {
250 OdGiWorldGeometry.getCPtr(
geometry()).Handle
282 private static global::System.Type[] swigMethodTypes0 =
new global::System.Type[] { typeof(
OdRxClass) };
283 private static global::System.Type[] swigMethodTypes1 =
new global::System.Type[] { };
284 private static global::System.Type[] swigMethodTypes2 =
new global::System.Type[] { };
285 private static global::System.Type[] swigMethodTypes3 =
new global::System.Type[] { };
286 private static global::System.Type[] swigMethodTypes4 =
new global::System.Type[] { };
287 private static global::System.Type[] swigMethodTypes5 =
new global::System.Type[] { };
288 private static global::System.Type[] swigMethodTypes6 =
new global::System.Type[] { };
289 private static global::System.Type[] swigMethodTypes7 =
new global::System.Type[] { typeof(
OdGiDeviationType), typeof(OdGePoint3d) };
290 private static global::System.Type[] swigMethodTypes8 =
new global::System.Type[] { };
291 private static global::System.Type[] swigMethodTypes9 =
new global::System.Type[] { };
292 private static global::System.Type[] swigMethodTypes10 =
new global::System.Type[] { };
293 private static global::System.Type[] swigMethodTypes11 =
new global::System.Type[] { };
294 private static global::System.Type[] swigMethodTypes12 =
new global::System.Type[] { };
static global::System.Exception Retrieve()
static IntPtr OdGiWorldDraw_cast(HandleRef jarg1)
static void OdGiWorldDraw_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, OdGiWorldDraw.SwigDelegateOdGiWorldDraw_0 delegate0, OdGiWorldDraw.SwigDelegateOdGiWorldDraw_1 delegate1, OdGiWorldDraw.SwigDelegateOdGiWorldDraw_2 delegate2, OdGiWorldDraw.SwigDelegateOdGiWorldDraw_3 delegate3, OdGiWorldDraw.SwigDelegateOdGiWorldDraw_4 delegate4, OdGiWorldDraw.SwigDelegateOdGiWorldDraw_5 delegate5, OdGiWorldDraw.SwigDelegateOdGiWorldDraw_6 delegate6, OdGiWorldDraw.SwigDelegateOdGiWorldDraw_7 delegate7, OdGiWorldDraw.SwigDelegateOdGiWorldDraw_8 delegate8, OdGiWorldDraw.SwigDelegateOdGiWorldDraw_9 delegate9, OdGiWorldDraw.SwigDelegateOdGiWorldDraw_10 delegate10, OdGiWorldDraw.SwigDelegateOdGiWorldDraw_11 delegate11, OdGiWorldDraw.SwigDelegateOdGiWorldDraw_12 delegate12)
static string OdGiWorldDraw_getRealClassName(IntPtr jarg1)
static void delete_OdGiWorldDraw(HandleRef jarg1)
static IntPtr OdGiWorldDraw_isA(HandleRef jarg1)
static IntPtr OdGiWorldDraw_queryXSwigExplicitOdGiWorldDraw(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdGiWorldDraw_geometry(HandleRef jarg1)
static IntPtr OdGiWorldDraw_isASwigExplicitOdGiWorldDraw(HandleRef jarg1)
static IntPtr OdGiWorldDraw_queryX(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdGiWorldDraw_createObject()
static IntPtr OdGiWorldDraw_desc()
virtual OdGiContext context()
virtual OdGiPathNode currentGiPath()
virtual OdGiRegenType regenType()
virtual OdGiSubEntityTraits subEntityTraits()
virtual UInt32 numberOfIsolines()
virtual double deviation(OdGiDeviationType deviationType, OdGePoint3d pointOnCurve)
virtual bool regenAbort()
virtual OdGiGeometry rawGeometry()
virtual bool isDragging()
virtual bool displayModelerSilhouettes()
delegate bool SwigDelegateOdGiWorldDraw_11()
delegate IntPtr SwigDelegateOdGiWorldDraw_12()
virtual Teigha.Core.OdGiWorldGeometry vb_geometry()
delegate double SwigDelegateOdGiWorldDraw_7(int deviationType, global::System.IntPtr pointOnCurve)
static new OdGiWorldDraw createObject()
delegate IntPtr SwigDelegateOdGiWorldDraw_9()
static new OdRxClass desc()
delegate global::System.IntPtr SwigDelegateOdGiWorldDraw_10()
static HandleRef getCPtr(OdGiWorldDraw obj)
delegate IntPtr SwigDelegateOdGiWorldDraw_0(IntPtr protocolClass)
delegate UInt32 SwigDelegateOdGiWorldDraw_8()
delegate bool SwigDelegateOdGiWorldDraw_6()
static string getRealClassName(IntPtr ptr)
delegate IntPtr SwigDelegateOdGiWorldDraw_5()
virtual double vb_deviation(Teigha.Core.OdGiDeviationType deviationType, Teigha.Core.OdGePoint3d pointOnCurve)
delegate IntPtr SwigDelegateOdGiWorldDraw_4()
static OdGiWorldDraw cast(OdRxObject pObj)
virtual Teigha.Core.OdGiContext vb_context()
override OdRxObject queryX(OdRxClass protocolClass)
override void Dispose(bool disposing)
delegate int SwigDelegateOdGiWorldDraw_2()
OdGiWorldDraw(IntPtr cPtr, bool cMemoryOwn)
delegate IntPtr SwigDelegateOdGiWorldDraw_1()
virtual OdGiWorldGeometry geometry()
delegate bool SwigDelegateOdGiWorldDraw_3()
static HandleRef getCPtr(OdRxClass obj)
static HandleRef getCPtr(OdRxObject obj)