14using System.Runtime.InteropServices;
18 private Object locker =
new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
22 swigCPtr =
new HandleRef(
this, cPtr);
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
30 protected override void Dispose(
bool disposing) {
32 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
37 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
39 base.Dispose(disposing);
44 : this(
TG_DbPINVOKE.new_OdDgGripPointsPE(), MemoryManager.GetMemoryManager().GetCurrentTransaction() == null)
46 MemoryTransaction mTr = MemoryManager.GetMemoryManager().GetCurrentTransaction();
52 SwigDirectorConnect();
53 DelegateHolder.OnHoldSwigDirectorDelegates(
this);
57 MemoryManager mMan = MemoryManager.GetMemoryManager();
58 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
98 MemoryManager mMan = MemoryManager.GetMemoryManager();
99 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
130 OdResult ret = (
OdResult)(SwigDerivedClassHasMethod(
"getGripPoints", swigMethodTypes5) ?
TG_DbPINVOKE.
OdDgGripPointsPE_getGripPointsSwigExplicitOdDgGripPointsPE__SWIG_1(swigCPtr,
OdDgElement.
getCPtr(pEntity),
OdDgGripDataPtrArray.
getCPtr(grips), curViewUnitSize, gripSize,
OdGeVector3d.
getCPtr(curViewDir), bitFlags) :
TG_DbPINVOKE.
OdDgGripPointsPE_getGripPoints__SWIG_1(swigCPtr,
OdDgElement.
getCPtr(pEntity),
OdDgGripDataPtrArray.
getCPtr(grips), curViewUnitSize, gripSize,
OdGeVector3d.
getCPtr(curViewDir), bitFlags));
154 OdResult ret = (
OdResult)(SwigDerivedClassHasMethod(
"getOsnapPoints", swigMethodTypes9) ?
TG_DbPINVOKE.
OdDgGripPointsPE_getOsnapPointsSwigExplicitOdDgGripPointsPE__SWIG_0(swigCPtr,
OdDgElement.
getCPtr(pEntity), (
int)osnapMode, gsSelectionMark ,
OdGePoint3d.
getCPtr(pickPoint),
OdGePoint3d.
getCPtr(lastPoint),
OdGeMatrix3d.
getCPtr(xWorldToEye),
OdGePoint3dArray.
getCPtr(snapPoints)) :
TG_DbPINVOKE.
OdDgGripPointsPE_getOsnapPoints__SWIG_0(swigCPtr,
OdDgElement.
getCPtr(pEntity), (
int)osnapMode, gsSelectionMark ,
OdGePoint3d.
getCPtr(pickPoint),
OdGePoint3d.
getCPtr(lastPoint),
OdGeMatrix3d.
getCPtr(xWorldToEye),
OdGePoint3dArray.
getCPtr(snapPoints)));
160 OdResult ret = (
OdResult)(SwigDerivedClassHasMethod(
"getOsnapPoints", swigMethodTypes10) ?
TG_DbPINVOKE.
OdDgGripPointsPE_getOsnapPointsSwigExplicitOdDgGripPointsPE__SWIG_1(swigCPtr,
OdDgElement.
getCPtr(pEntity), (
int)osnapMode, gsSelectionMark ,
OdGePoint3d.
getCPtr(pickPoint),
OdGePoint3d.
getCPtr(lastPoint),
OdGeMatrix3d.
getCPtr(xWorldToEye),
OdGePoint3dArray.
getCPtr(snapPoints),
OdGeMatrix3d.
getCPtr(insert)) :
TG_DbPINVOKE.
OdDgGripPointsPE_getOsnapPoints__SWIG_1(swigCPtr,
OdDgElement.
getCPtr(pEntity), (
int)osnapMode, gsSelectionMark ,
OdGePoint3d.
getCPtr(pickPoint),
OdGePoint3d.
getCPtr(lastPoint),
OdGeMatrix3d.
getCPtr(xWorldToEye),
OdGePoint3dArray.
getCPtr(snapPoints),
OdGeMatrix3d.
getCPtr(insert)));
171 private void SwigDirectorConnect() {
172 if (SwigDerivedClassHasMethod(
"queryX", swigMethodTypes0))
174 if (SwigDerivedClassHasMethod(
"isA", swigMethodTypes1))
176 if (SwigDerivedClassHasMethod(
"copyFrom", swigMethodTypes2))
178 if (SwigDerivedClassHasMethod(
"getGripPoints", swigMethodTypes3))
180 if (SwigDerivedClassHasMethod(
"moveGripPointsAt", swigMethodTypes4))
182 if (SwigDerivedClassHasMethod(
"getGripPoints", swigMethodTypes5))
184 if (SwigDerivedClassHasMethod(
"moveGripPointsAt", swigMethodTypes6))
186 if (SwigDerivedClassHasMethod(
"getStretchPoints", swigMethodTypes7))
188 if (SwigDerivedClassHasMethod(
"moveStretchPointsAt", swigMethodTypes8))
190 if (SwigDerivedClassHasMethod(
"getOsnapPoints", swigMethodTypes9))
192 if (SwigDerivedClassHasMethod(
"getOsnapPoints", swigMethodTypes10))
194 TG_DbPINVOKE.
OdDgGripPointsPE_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10);
197 private bool SwigDerivedClassHasMethod(
string methodName, global::System.Type[] methodTypes) {
198 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);
199 bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(
OdDgGripPointsPE));
200 return hasDerivedMethod;
203 private IntPtr SwigDirectorMethodqueryX(IntPtr protocolClass) {
212 private IntPtr SwigDirectorMethodisA() {
219 private void SwigDirectorMethodcopyFrom(IntPtr pSource) {
225 private int SwigDirectorMethodgetGripPoints__SWIG_0(IntPtr pEntity, global::System.IntPtr gripPoints) {
227 (OdDgElement)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgElement),pEntity,
false)
231 private int SwigDirectorMethodmoveGripPointsAt__SWIG_0(IntPtr pEntity, IntPtr indices, global::System.IntPtr offset) {
233 (OdDgElement)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgElement),pEntity,
false)
240 private int SwigDirectorMethodgetGripPoints__SWIG_1(IntPtr pEntity, global::System.IntPtr grips,
double curViewUnitSize,
int gripSize, global::System.IntPtr curViewDir,
int bitFlags) {
242 (OdDgElement)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgElement),pEntity,
false)
243,
new OdDgGripDataPtrArray(grips,
false), curViewUnitSize, gripSize,
new OdGeVector3d(curViewDir,
false), bitFlags);
246 private int SwigDirectorMethodmoveGripPointsAt__SWIG_1(IntPtr pEntity, global::System.IntPtr grips, global::System.IntPtr offset,
int bitFlags) {
248 (OdDgElement)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgElement),pEntity,
false)
252 private int SwigDirectorMethodgetStretchPoints(IntPtr pEntity, global::System.IntPtr stretchPoints) {
254 (OdDgElement)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgElement),pEntity,
false)
258 private int SwigDirectorMethodmoveStretchPointsAt(IntPtr pEntity, IntPtr indices, global::System.IntPtr offset) {
260 (OdDgElement)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgElement),pEntity,
false)
267 private int SwigDirectorMethodgetOsnapPoints__SWIG_0(IntPtr pEntity,
int osnapMode, IntPtr gsSelectionMark, global::System.IntPtr pickPoint, global::System.IntPtr lastPoint, global::System.IntPtr xWorldToEye, global::System.IntPtr snapPoints) {
269 (OdDgElement)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgElement),pEntity,
false)
270, (OdDgElement.OsnapMode)osnapMode, gsSelectionMark ,
new OdGePoint3d(pickPoint,
false),
new OdGePoint3d(lastPoint,
false),
new OdGeMatrix3d(xWorldToEye,
false),
new OdGePoint3dArray(snapPoints,
false));
273 private int SwigDirectorMethodgetOsnapPoints__SWIG_1(IntPtr pEntity,
int osnapMode, IntPtr gsSelectionMark, global::System.IntPtr pickPoint, global::System.IntPtr lastPoint, global::System.IntPtr xWorldToEye, global::System.IntPtr snapPoints, global::System.IntPtr insert) {
275 (OdDgElement)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgElement),pEntity,
false)
276, (OdDgElement.OsnapMode)osnapMode, gsSelectionMark ,
new OdGePoint3d(pickPoint,
false),
new OdGePoint3d(lastPoint,
false),
new OdGeMatrix3d(xWorldToEye,
false),
new OdGePoint3dArray(snapPoints,
false),
new OdGeMatrix3d(insert,
false));
284 public delegate
int SwigDelegateOdDgGripPointsPE_5(IntPtr pEntity, global::System.IntPtr grips,
double curViewUnitSize,
int gripSize, global::System.IntPtr curViewDir,
int bitFlags);
288 public delegate
int SwigDelegateOdDgGripPointsPE_9(IntPtr pEntity,
int osnapMode, IntPtr gsSelectionMark, global::System.IntPtr pickPoint, global::System.IntPtr lastPoint, global::System.IntPtr xWorldToEye, global::System.IntPtr snapPoints);
289 public delegate
int SwigDelegateOdDgGripPointsPE_10(IntPtr pEntity,
int osnapMode, IntPtr gsSelectionMark, global::System.IntPtr pickPoint, global::System.IntPtr lastPoint, global::System.IntPtr xWorldToEye, global::System.IntPtr snapPoints, global::System.IntPtr insert);
303 private static global::System.Type[] swigMethodTypes0 =
new global::System.Type[] { typeof(
OdRxClass) };
304 private static global::System.Type[] swigMethodTypes1 =
new global::System.Type[] { };
305 private static global::System.Type[] swigMethodTypes2 =
new global::System.Type[] { typeof(
OdRxObject) };
306 private static global::System.Type[] swigMethodTypes3 =
new global::System.Type[] { typeof(OdDgElement), typeof(
OdGePoint3dArray) };
307 private static global::System.Type[] swigMethodTypes4 =
new global::System.Type[] { typeof(OdDgElement), typeof(
OdIntArray), typeof(
OdGeVector3d) };
308 private static global::System.Type[] swigMethodTypes5 =
new global::System.Type[] { typeof(OdDgElement), typeof(OdDgGripDataPtrArray), typeof(
double), typeof(
int), typeof(
OdGeVector3d), typeof(
int) };
309 private static global::System.Type[] swigMethodTypes6 =
new global::System.Type[] { typeof(OdDgElement), typeof(
OdDbVoidPtrArray), typeof(
OdGeVector3d), typeof(
int) };
310 private static global::System.Type[] swigMethodTypes7 =
new global::System.Type[] { typeof(OdDgElement), typeof(
OdGePoint3dArray) };
311 private static global::System.Type[] swigMethodTypes8 =
new global::System.Type[] { typeof(OdDgElement), typeof(
OdIntArray), typeof(
OdGeVector3d) };
static HandleRef getCPtr(OdDbVoidPtrArray obj)
static HandleRef getCPtr(OdGeMatrix3d obj)
static HandleRef getCPtr(OdGePoint3dArray obj)
static HandleRef getCPtr(OdGePoint3d obj)
static HandleRef getCPtr(OdGeVector3d obj)
static HandleRef getCPtr(OdIntArray obj)
static HandleRef getCPtr(OdRxClass obj)
OdRxObject(IntPtr cPtr, bool cMemoryOwn)
virtual void copyFrom(OdRxObject pSource)
static HandleRef getCPtr(OdRxObject obj)
static HandleRef getCPtr(OdDgElement obj)
static HandleRef getCPtr(OdDgGripDataPtrArray obj)
delegate int SwigDelegateOdDgGripPointsPE_3(IntPtr pEntity, global::System.IntPtr gripPoints)
virtual OdResult getOsnapPoints(OdDgElement pEntity, OdDgElement.OsnapMode osnapMode, IntPtr gsSelectionMark, OdGePoint3d pickPoint, OdGePoint3d lastPoint, OdGeMatrix3d xWorldToEye, OdGePoint3dArray snapPoints)
virtual OdResult moveGripPointsAt(OdDgElement pEntity, OdIntArray indices, OdGeVector3d offset)
static HandleRef getCPtr(OdDgGripPointsPE obj)
virtual OdResult moveGripPointsAt(OdDgElement pEntity, OdDbVoidPtrArray grips, OdGeVector3d offset, int bitFlags)
delegate int SwigDelegateOdDgGripPointsPE_10(IntPtr pEntity, int osnapMode, IntPtr gsSelectionMark, global::System.IntPtr pickPoint, global::System.IntPtr lastPoint, global::System.IntPtr xWorldToEye, global::System.IntPtr snapPoints, global::System.IntPtr insert)
override void Dispose(bool disposing)
virtual OdResult moveStretchPointsAt(OdDgElement pEntity, OdIntArray indices, OdGeVector3d offset)
delegate void SwigDelegateOdDgGripPointsPE_2(IntPtr pSource)
static OdDgGripPointsPE cast(OdRxObject pObj)
delegate int SwigDelegateOdDgGripPointsPE_9(IntPtr pEntity, int osnapMode, IntPtr gsSelectionMark, global::System.IntPtr pickPoint, global::System.IntPtr lastPoint, global::System.IntPtr xWorldToEye, global::System.IntPtr snapPoints)
OdDgGripPointsPE(IntPtr cPtr, bool cMemoryOwn)
virtual OdResult getStretchPoints(OdDgElement pEntity, OdGePoint3dArray stretchPoints)
delegate int SwigDelegateOdDgGripPointsPE_5(IntPtr pEntity, global::System.IntPtr grips, double curViewUnitSize, int gripSize, global::System.IntPtr curViewDir, int bitFlags)
delegate int SwigDelegateOdDgGripPointsPE_6(IntPtr pEntity, global::System.IntPtr grips, global::System.IntPtr offset, int bitFlags)
delegate int SwigDelegateOdDgGripPointsPE_8(IntPtr pEntity, IntPtr indices, global::System.IntPtr offset)
virtual OdResult getOsnapPoints(OdDgElement pEntity, OdDgElement.OsnapMode osnapMode, IntPtr gsSelectionMark, OdGePoint3d pickPoint, OdGePoint3d lastPoint, OdGeMatrix3d xWorldToEye, OdGePoint3dArray snapPoints, OdGeMatrix3d insert)
virtual OdResult getGripPoints(OdDgElement pEntity, OdDgGripDataPtrArray grips, double curViewUnitSize, int gripSize, OdGeVector3d curViewDir, int bitFlags)
static new OdRxClass desc()
delegate int SwigDelegateOdDgGripPointsPE_4(IntPtr pEntity, IntPtr indices, global::System.IntPtr offset)
static OdDgGripPointsPE createObject()
delegate int SwigDelegateOdDgGripPointsPE_7(IntPtr pEntity, global::System.IntPtr stretchPoints)
delegate IntPtr SwigDelegateOdDgGripPointsPE_0(IntPtr protocolClass)
delegate IntPtr SwigDelegateOdDgGripPointsPE_1()
override OdRxObject queryX(OdRxClass protocolClass)
static string getRealClassName(IntPtr ptr)
virtual OdResult getGripPoints(OdDgElement pEntity, OdGePoint3dArray gripPoints)
static global::System.Exception Retrieve()
static int OdDgGripPointsPE_getOsnapPoints__SWIG_0(HandleRef jarg1, HandleRef jarg2, int jarg3, IntPtr jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8)
static int OdDgGripPointsPE_getStretchPointsSwigExplicitOdDgGripPointsPE(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDgGripPointsPE_getGripPointsSwigExplicitOdDgGripPointsPE__SWIG_0(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDgGripPointsPE_moveGripPointsAtSwigExplicitOdDgGripPointsPE__SWIG_1(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5)
static int OdDgGripPointsPE_getOsnapPoints__SWIG_1(HandleRef jarg1, HandleRef jarg2, int jarg3, IntPtr jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, global::System.Runtime.InteropServices.HandleRef jarg9)
static void OdDgGripPointsPE_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, OdDgGripPointsPE.SwigDelegateOdDgGripPointsPE_0 delegate0, OdDgGripPointsPE.SwigDelegateOdDgGripPointsPE_1 delegate1, OdDgGripPointsPE.SwigDelegateOdDgGripPointsPE_2 delegate2, OdDgGripPointsPE.SwigDelegateOdDgGripPointsPE_3 delegate3, OdDgGripPointsPE.SwigDelegateOdDgGripPointsPE_4 delegate4, OdDgGripPointsPE.SwigDelegateOdDgGripPointsPE_5 delegate5, OdDgGripPointsPE.SwigDelegateOdDgGripPointsPE_6 delegate6, OdDgGripPointsPE.SwigDelegateOdDgGripPointsPE_7 delegate7, OdDgGripPointsPE.SwigDelegateOdDgGripPointsPE_8 delegate8, OdDgGripPointsPE.SwigDelegateOdDgGripPointsPE_9 delegate9, OdDgGripPointsPE.SwigDelegateOdDgGripPointsPE_10 delegate10)
static int OdDgGripPointsPE_moveStretchPointsAt(HandleRef jarg1, HandleRef jarg2, IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static int OdDgGripPointsPE_moveStretchPointsAtSwigExplicitOdDgGripPointsPE(HandleRef jarg1, HandleRef jarg2, IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static int OdDgGripPointsPE_getOsnapPointsSwigExplicitOdDgGripPointsPE__SWIG_1(HandleRef jarg1, HandleRef jarg2, int jarg3, IntPtr jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, global::System.Runtime.InteropServices.HandleRef jarg9)
static IntPtr OdDgGripPointsPE_queryX(HandleRef jarg1, HandleRef jarg2)
static int OdDgGripPointsPE_moveGripPointsAt__SWIG_0(HandleRef jarg1, HandleRef jarg2, IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static int OdDgGripPointsPE_getGripPoints__SWIG_0(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void delete_OdDgGripPointsPE(HandleRef jarg1)
static string OdDgGripPointsPE_getRealClassName(IntPtr jarg1)
static IntPtr OdDgGripPointsPE_isA(HandleRef jarg1)
static IntPtr OdDgGripPointsPE_cast(HandleRef jarg1)
static int OdDgGripPointsPE_moveGripPointsAt__SWIG_1(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5)
static int OdDgGripPointsPE_getGripPoints__SWIG_1(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, double jarg4, int jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, int jarg7)
static IntPtr OdDgGripPointsPE_queryXSwigExplicitOdDgGripPointsPE(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdDgGripPointsPE_desc()
static int OdDgGripPointsPE_getGripPointsSwigExplicitOdDgGripPointsPE__SWIG_1(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, double jarg4, int jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, int jarg7)
static IntPtr OdDgGripPointsPE_createObject()
static IntPtr OdDgGripPointsPE_isASwigExplicitOdDgGripPointsPE(HandleRef jarg1)
static int OdDgGripPointsPE_getOsnapPointsSwigExplicitOdDgGripPointsPE__SWIG_0(HandleRef jarg1, HandleRef jarg2, int jarg3, IntPtr jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8)
static int OdDgGripPointsPE_getStretchPoints(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDgGripPointsPE_moveGripPointsAtSwigExplicitOdDgGripPointsPE__SWIG_0(HandleRef jarg1, HandleRef jarg2, IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)