Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGiWorldDraw_Stub.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 OdGiWorldDraw_Stub(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGiWorldDraw_Stub_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGiWorldDraw_Stub 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
44 }
45
46 public override OdGiGeometry rawGeometry() {
47 OdGiGeometry ret = (OdGiGeometry)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiGeometry),GlobalsPINVOKE.OdGiWorldDraw_Stub_rawGeometry(swigCPtr),false); /*createInt 3_1*/
48
50 return ret;
51}
52
54 OdGiSubEntityTraits ret = (OdGiSubEntityTraits)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiSubEntityTraits),GlobalsPINVOKE.OdGiWorldDraw_Stub_subEntityTraits(swigCPtr),false); /*createInt 3_1*/
55
57 return ret;
58}
59
60 public override OdGiWorldGeometry geometry() {
61 OdGiWorldGeometry ret = (OdGiWorldGeometry)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiWorldGeometry),GlobalsPINVOKE.OdGiWorldDraw_Stub_geometry(swigCPtr),false); /*createInt 3_1*/
62
64 return ret;
65}
66
71 public override Teigha.Core.OdGiWorldGeometry vb_geometry() { return this.geometry(); }
72
77 public virtual double vb_deviation(Teigha.Core.OdGiDeviationType t, Teigha.Core.OdGePoint3d p) { return this.deviation(t, p); }
78
83 public virtual Teigha.Core.OdGiContext vb_context() { return this.context(); }
84
85}
86
87}
static global::System.Exception Retrieve()
static IntPtr OdGiWorldDraw_Stub_geometry(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdGiWorldDraw_Stub_subEntityTraits(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdGiWorldDraw_Stub(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdGiWorldDraw_Stub_rawGeometry(global::System.Runtime.InteropServices.HandleRef jarg1)
override void Dispose(bool disposing)
OdGiWorldDraw_Stub(IntPtr cPtr, bool cMemoryOwn)
virtual Teigha.Core.OdGiContext vb_context()
static HandleRef getCPtr(OdGiWorldDraw_Stub obj)
virtual double vb_deviation(Teigha.Core.OdGiDeviationType t, Teigha.Core.OdGePoint3d p)
override OdGiGeometry rawGeometry()
override Teigha.Core.OdGiWorldGeometry vb_geometry()
OdGiWorldDraw_Stub(OdGiWorldDraw pVD, OdGiWorldGeometry pVG, OdGiSubEntityTraits pST)
override OdGiSubEntityTraits subEntityTraits()
override OdGiWorldGeometry geometry()
virtual double deviation(OdGiDeviationType t, OdGePoint3d p)