Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDgMeshPointCloud.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 OdDgMeshPointCloud(IntPtr cPtr, bool cMemoryOwn) : base(TG_DbPINVOKE.OdDgMeshPointCloud_SWIGUpcast(cPtr), cMemoryOwn) {
22 swigCPtr = new HandleRef(this, cPtr);
23 }
24
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdDgMeshPointCloud 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 OdDgMeshPointCloud cast(OdRxObject pObj) {// OdSmartPtr<OdDgMeshPointCloud>
58 MemoryManager mMan = MemoryManager.GetMemoryManager();
59 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
61
62 OdDgMeshPointCloud ret = null;
63 if (null != mTrans)
64 {
65 mTrans.AddObject((OdDgMeshPointCloud)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgMeshPointCloud),ptr, true));
66 ret = (OdDgMeshPointCloud)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgMeshPointCloud),ptr, false);
67 }
68 else
69 {
70 ret = (OdDgMeshPointCloud)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgMeshPointCloud),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.OdDgMeshPointCloud_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.OdDgMeshPointCloud_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.OdDgMeshPointCloud_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass)),false); /*createInt 3_2*/
93
95 return ret;
96}
97
98 public new static OdDgMeshPointCloud createObject() {// OdSmartPtr<OdDgMeshPointCloud>
99 MemoryManager mMan = MemoryManager.GetMemoryManager();
100 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
102
103 OdDgMeshPointCloud ret = null;
104 if (null != mTrans)
105 {
106 mTrans.AddObject((OdDgMeshPointCloud)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgMeshPointCloud),ptr, true));
107 ret = (OdDgMeshPointCloud)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgMeshPointCloud),ptr, false);
108 }
109 else
110 {
111 ret = (OdDgMeshPointCloud)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgMeshPointCloud),ptr, true);
112 }
113
115 return ret;
116}
117
118 public UInt32 getPointsNumber() {
119// test csout
120 /*SIMPLETYPE*/
121 UInt32 ret = TG_DbPINVOKE.OdDgMeshPointCloud_getPointsNumber(swigCPtr);
123 return ret;
124 }
125
126 public void setPointsNumber(UInt32 /*SIMPLETYPE*/ number) {
127 TG_DbPINVOKE.OdDgMeshPointCloud_setPointsNumber(swigCPtr, number /*SIMPLETYPE*/);
129 }
130
131 public void removePoint(UInt32 /*SIMPLETYPE*/ index) {
132 TG_DbPINVOKE.OdDgMeshPointCloud_removePoint(swigCPtr, index /*SIMPLETYPE*/);
134 }
135
136 public void removeAllPoints() {
139 }
140
141 public UInt32 addPoint(OdGePoint3d point) {
142// test csout
143 /*SIMPLETYPE*/
144 UInt32 ret = TG_DbPINVOKE.OdDgMeshPointCloud_addPoint(swigCPtr, OdGePoint3d.getCPtr(point));
146 return ret;
147 }
148
149 public OdGePoint3d getPoint(UInt32 /*SIMPLETYPE*/ index) {
150 OdGePoint3d ret = new OdGePoint3d(TG_DbPINVOKE.OdDgMeshPointCloud_getPoint(swigCPtr, index /*SIMPLETYPE*/), true);
152 return ret;
153 }
154
155 public void setPoint(UInt32 /*SIMPLETYPE*/ index, OdGePoint3d point) {
156 TG_DbPINVOKE.OdDgMeshPointCloud_setPoint(swigCPtr, index /*SIMPLETYPE*/, OdGePoint3d.getCPtr(point));
158 }
159
160 public override bool subWorldDraw(OdGiWorldDraw pWd) {
163 return ret;
164 }
165
166 public override OdResult subGetGeomExtents(OdGeExtents3d extents) {
169 return ret;
170 }
171
172 public override OdResult subGetGeomExtents(OdDgElementId idView, OdGeExtents3d extents) {
175 return ret;
176 }
177
178 protected static string getRealClassName(IntPtr /*SIMPLETYPE*/ ptr) {
179 string ret = TG_DbPINVOKE.OdDgMeshPointCloud_getRealClassName(ptr /*SIMPLETYPE*/);
181 return ret;
182 }
183
188 public virtual void vb_gripStatus(Teigha.TG.OdDgElement.GripStat status) { this.gripStatus(status); }
189
195
196}
197
198}
static HandleRef getCPtr(OdGeExtents3d obj)
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
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 HandleRef getCPtr(OdDgElementId obj)
override OdDgElement.ElementTypes getElementType()
void setPointsNumber(UInt32 number)
void setPoint(UInt32 index, OdGePoint3d point)
override bool subWorldDraw(OdGiWorldDraw pWd)
UInt32 addPoint(OdGePoint3d point)
static HandleRef getCPtr(OdDgMeshPointCloud obj)
override OdResult subGetGeomExtents(OdGeExtents3d extents)
override OdResult subGetGeomExtents(OdDgElementId idView, OdGeExtents3d extents)
override OdRxObject queryX(OdRxClass protocolClass)
virtual Teigha.Core.OdGiDrawable.DrawableType vb_drawableType()
static OdDgMeshPointCloud cast(OdRxObject pObj)
static new OdRxClass desc()
override void Dispose(bool disposing)
OdDgMeshPointCloud(IntPtr cPtr, bool cMemoryOwn)
OdGePoint3d getPoint(UInt32 index)
virtual void vb_gripStatus(Teigha.TG.OdDgElement.GripStat status)
static new OdDgMeshPointCloud createObject()
static string getRealClassName(IntPtr ptr)
static global::System.Exception Retrieve()
static IntPtr OdDgMeshPointCloud_queryX(HandleRef jarg1, HandleRef jarg2)
static void OdDgMeshPointCloud_setPointsNumber(HandleRef jarg1, UInt32 jarg2)
static UInt32 OdDgMeshPointCloud_getPointsNumber(HandleRef jarg1)
static string OdDgMeshPointCloud_getRealClassName(IntPtr jarg1)
static void OdDgMeshPointCloud_removeAllPoints(HandleRef jarg1)
static void delete_OdDgMeshPointCloud(HandleRef jarg1)
static bool OdDgMeshPointCloud_subWorldDraw(HandleRef jarg1, HandleRef jarg2)
static int OdDgMeshPointCloud_getElementType(HandleRef jarg1)
static void OdDgMeshPointCloud_setPoint(HandleRef jarg1, UInt32 jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdDgMeshPointCloud_removePoint(HandleRef jarg1, UInt32 jarg2)
static global::System.IntPtr OdDgMeshPointCloud_getPoint(HandleRef jarg1, UInt32 jarg2)
static int OdDgMeshPointCloud_subGetGeomExtents__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdDgMeshPointCloud_createObject()
static IntPtr OdDgMeshPointCloud_cast(HandleRef jarg1)
static IntPtr OdDgMeshPointCloud_isA(HandleRef jarg1)
static IntPtr OdDgMeshPointCloud_desc()
static int OdDgMeshPointCloud_subGetGeomExtents__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static UInt32 OdDgMeshPointCloud_addPoint(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static byte OdDgMeshPointCloud_getElementSubType(HandleRef jarg1)