Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDgPointString3d.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.TG {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16
18 private Object locker = new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public OdDgPointString3d(IntPtr cPtr, bool cMemoryOwn) : base(TG_DbPINVOKE.OdDgPointString3d_SWIGUpcast(cPtr), cMemoryOwn) {
22 swigCPtr = new HandleRef(this, cPtr);
23 }
24
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdDgPointString3d obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
30 protected override void Dispose(bool disposing) {
31 lock(this) {
32 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
33 if (swigCMemOwn) {
34 swigCMemOwn = false;
36 }
37 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
38 }
39 base.Dispose(disposing);
40 }
41 }
42
46 return ret;
47 }
48
49 public override byte getElementSubType() {
50// test csout
51 /*SIMPLETYPE*/
54 return ret;
55 }
56
57 public static OdDgPointString3d cast(OdRxObject pObj) {// OdSmartPtr<OdDgPointString3d>
58 MemoryManager mMan = MemoryManager.GetMemoryManager();
59 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
61
62 OdDgPointString3d ret = null;
63 if (null != mTrans)
64 {
65 mTrans.AddObject((OdDgPointString3d)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgPointString3d),ptr, true));
66 ret = (OdDgPointString3d)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgPointString3d),ptr, false);
67 }
68 else
69 {
70 ret = (OdDgPointString3d)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgPointString3d),ptr, true);
71 }
72
74 return ret;
75}
76
77 public new static OdRxClass desc() {
78 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),TG_DbPINVOKE.OdDgPointString3d_desc(),false); /*createInt 3_2*/
79
81 return ret;
82}
83
84 public override OdRxClass isA() {
85 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),TG_DbPINVOKE.OdDgPointString3d_isA(swigCPtr),false); /*createInt 3_2*/
86
88 return ret;
89}
90
91 public override OdRxObject queryX(OdRxClass protocolClass) {
92 OdRxObject ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),TG_DbPINVOKE.OdDgPointString3d_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass)),false); /*createInt 3_2*/
93
95 return ret;
96}
97
98 public new static OdDgPointString3d createObject() {// OdSmartPtr<OdDgPointString3d>
99 MemoryManager mMan = MemoryManager.GetMemoryManager();
100 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
102
103 OdDgPointString3d ret = null;
104 if (null != mTrans)
105 {
106 mTrans.AddObject((OdDgPointString3d)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgPointString3d),ptr, true));
107 ret = (OdDgPointString3d)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgPointString3d),ptr, false);
108 }
109 else
110 {
111 ret = (OdDgPointString3d)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgPointString3d),ptr, true);
112 }
113
115 return ret;
116}
117
118 public virtual OdResult addVertex(OdGePoint3d point, OdGeQuaternion rotation) {
121 return ret;
122 }
123
124 public virtual OdGeQuaternion getRotationAt(UInt32 /*SIMPLETYPE*/ index) {
125 OdGeQuaternion ret = new OdGeQuaternion(TG_DbPINVOKE.OdDgPointString3d_getRotationAt(swigCPtr, index /*SIMPLETYPE*/), true);
127 return ret;
128 }
129
130 public virtual void setRotationAt(UInt32 /*SIMPLETYPE*/ index, OdGeQuaternion rotation) {
131 TG_DbPINVOKE.OdDgPointString3d_setRotationAt(swigCPtr, index /*SIMPLETYPE*/, OdGeQuaternion.getCPtr(rotation));
133 }
134
135 public override bool subWorldDraw(OdGiWorldDraw pWd) {
138 return ret;
139 }
140
141 public virtual bool getContinuousFlag() {
144 return ret;
145 }
146
147 public virtual void setContinuousFlag(bool flag) {
150 }
151
152 protected static string getRealClassName(IntPtr /*SIMPLETYPE*/ ptr) {
153 string ret = TG_DbPINVOKE.OdDgPointString3d_getRealClassName(ptr /*SIMPLETYPE*/);
155 return ret;
156 }
157
162 public virtual void vb_gripStatus(Teigha.TG.OdDgElement.GripStat status) { this.gripStatus(status); }
163
169
170}
171
172}
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
static HandleRef getCPtr(OdGeQuaternion obj)
virtual OdGiDrawable.DrawableType drawableType()
static HandleRef getCPtr(OdGiWorldDraw obj)
static HandleRef getCPtr(OdRxClass obj)
Definition: OdRxClass.cs:25
static HandleRef getCPtr(OdRxObject obj)
Definition: OdRxObject.cs:26
virtual void gripStatus(OdDgElement.GripStat status)
Definition: OdDgElement.cs:877
static new OdRxClass desc()
virtual void setContinuousFlag(bool flag)
static OdDgPointString3d cast(OdRxObject pObj)
virtual void vb_gripStatus(Teigha.TG.OdDgElement.GripStat status)
OdDgPointString3d(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(OdDgPointString3d obj)
static string getRealClassName(IntPtr ptr)
override OdRxClass isA()
static new OdDgPointString3d createObject()
virtual Teigha.Core.OdGiDrawable.DrawableType vb_drawableType()
override OdDgElement.ElementTypes getElementType()
virtual void setRotationAt(UInt32 index, OdGeQuaternion rotation)
override void Dispose(bool disposing)
virtual OdResult addVertex(OdGePoint3d point, OdGeQuaternion rotation)
virtual OdGeQuaternion getRotationAt(UInt32 index)
override OdRxObject queryX(OdRxClass protocolClass)
override bool subWorldDraw(OdGiWorldDraw pWd)
static global::System.Exception Retrieve()
static int OdDgPointString3d_addVertex(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static IntPtr OdDgPointString3d_createObject()
static global::System.IntPtr OdDgPointString3d_getRotationAt(HandleRef jarg1, UInt32 jarg2)
static IntPtr OdDgPointString3d_cast(HandleRef jarg1)
static IntPtr OdDgPointString3d_isA(HandleRef jarg1)
static string OdDgPointString3d_getRealClassName(IntPtr jarg1)
static void OdDgPointString3d_setRotationAt(HandleRef jarg1, UInt32 jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static byte OdDgPointString3d_getElementSubType(HandleRef jarg1)
static bool OdDgPointString3d_getContinuousFlag(HandleRef jarg1)
static IntPtr OdDgPointString3d_queryX(HandleRef jarg1, HandleRef jarg2)
static int OdDgPointString3d_getElementType(HandleRef jarg1)
static bool OdDgPointString3d_subWorldDraw(HandleRef jarg1, HandleRef jarg2)
static void delete_OdDgPointString3d(HandleRef jarg1)
static IntPtr OdDgPointString3d_desc()
static void OdDgPointString3d_setContinuousFlag(HandleRef jarg1, bool jarg2)