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();
56 MemoryManager mMan = MemoryManager.GetMemoryManager();
57 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
97 MemoryManager mMan = MemoryManager.GetMemoryManager();
98 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
129 OdResult ret = (
OdResult)(SwigDerivedClassHasMethod(
"getGripPoints", swigMethodTypes4) ?
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));
153 OdResult ret = (
OdResult)(SwigDerivedClassHasMethod(
"getOsnapPoints", swigMethodTypes8) ?
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)));
159 OdResult ret = (
OdResult)(SwigDerivedClassHasMethod(
"getOsnapPoints", swigMethodTypes9) ?
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)));
170 private void SwigDirectorConnect() {
171 if (SwigDerivedClassHasMethod(
"queryX", swigMethodTypes0))
173 if (SwigDerivedClassHasMethod(
"isA", swigMethodTypes1))
175 if (SwigDerivedClassHasMethod(
"getGripPoints", swigMethodTypes2))
177 if (SwigDerivedClassHasMethod(
"moveGripPointsAt", swigMethodTypes3))
179 if (SwigDerivedClassHasMethod(
"getGripPoints", swigMethodTypes4))
181 if (SwigDerivedClassHasMethod(
"moveGripPointsAt", swigMethodTypes5))
183 if (SwigDerivedClassHasMethod(
"getStretchPoints", swigMethodTypes6))
185 if (SwigDerivedClassHasMethod(
"moveStretchPointsAt", swigMethodTypes7))
187 if (SwigDerivedClassHasMethod(
"getOsnapPoints", swigMethodTypes8))
189 if (SwigDerivedClassHasMethod(
"getOsnapPoints", swigMethodTypes9))
191 TG_DbPINVOKE.
OdDgGripPointsPE_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9);
194 private bool SwigDerivedClassHasMethod(
string methodName, global::System.Type[] methodTypes) {
195 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);
196 bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(
OdDgGripPointsPE));
197 return hasDerivedMethod;
200 private IntPtr SwigDirectorMethodqueryX(IntPtr protocolClass) {
209 private IntPtr SwigDirectorMethodisA() {
216 private int SwigDirectorMethodgetGripPoints__SWIG_0(IntPtr pEntity, global::System.IntPtr gripPoints) {
218 (OdDgElement)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgElement),pEntity,
false)
222 private int SwigDirectorMethodmoveGripPointsAt__SWIG_0(IntPtr pEntity, IntPtr indices, global::System.IntPtr offset) {
224 (OdDgElement)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgElement),pEntity,
false)
231 private int SwigDirectorMethodgetGripPoints__SWIG_1(IntPtr pEntity, global::System.IntPtr grips,
double curViewUnitSize,
int gripSize, global::System.IntPtr curViewDir,
int bitFlags) {
233 (OdDgElement)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgElement),pEntity,
false)
234,
new OdDgGripDataPtrArray(grips,
false), curViewUnitSize, gripSize,
new OdGeVector3d(curViewDir,
false), bitFlags);
237 private int SwigDirectorMethodmoveGripPointsAt__SWIG_1(IntPtr pEntity, global::System.IntPtr grips, global::System.IntPtr offset,
int bitFlags) {
239 (OdDgElement)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgElement),pEntity,
false)
243 private int SwigDirectorMethodgetStretchPoints(IntPtr pEntity, global::System.IntPtr stretchPoints) {
245 (OdDgElement)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgElement),pEntity,
false)
249 private int SwigDirectorMethodmoveStretchPointsAt(IntPtr pEntity, IntPtr indices, global::System.IntPtr offset) {
251 (OdDgElement)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgElement),pEntity,
false)
258 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) {
260 (OdDgElement)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgElement),pEntity,
false)
261, (OdDgElement.OsnapMode)osnapMode, gsSelectionMark ,
new OdGePoint3d(pickPoint,
false),
new OdGePoint3d(lastPoint,
false),
new OdGeMatrix3d(xWorldToEye,
false),
new OdGePoint3dArray(snapPoints,
false));
264 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) {
266 (OdDgElement)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgElement),pEntity,
false)
267, (OdDgElement.OsnapMode)osnapMode, gsSelectionMark ,
new OdGePoint3d(pickPoint,
false),
new OdGePoint3d(lastPoint,
false),
new OdGeMatrix3d(xWorldToEye,
false),
new OdGePoint3dArray(snapPoints,
false),
new OdGeMatrix3d(insert,
false));
274 public delegate
int SwigDelegateOdDgGripPointsPE_4(IntPtr pEntity, global::System.IntPtr grips,
double curViewUnitSize,
int gripSize, global::System.IntPtr curViewDir,
int bitFlags);
278 public delegate
int SwigDelegateOdDgGripPointsPE_8(IntPtr pEntity,
int osnapMode, IntPtr gsSelectionMark, global::System.IntPtr pickPoint, global::System.IntPtr lastPoint, global::System.IntPtr xWorldToEye, global::System.IntPtr snapPoints);
279 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, global::System.IntPtr insert);
292 private static global::System.Type[] swigMethodTypes0 =
new global::System.Type[] { typeof(
OdRxClass) };
293 private static global::System.Type[] swigMethodTypes1 =
new global::System.Type[] { };
294 private static global::System.Type[] swigMethodTypes2 =
new global::System.Type[] { typeof(OdDgElement), typeof(
OdGePoint3dArray) };
295 private static global::System.Type[] swigMethodTypes3 =
new global::System.Type[] { typeof(OdDgElement), typeof(
OdIntArray), typeof(
OdGeVector3d) };
296 private static global::System.Type[] swigMethodTypes4 =
new global::System.Type[] { typeof(OdDgElement), typeof(OdDgGripDataPtrArray), typeof(
double), typeof(
int), typeof(
OdGeVector3d), typeof(
int) };
297 private static global::System.Type[] swigMethodTypes5 =
new global::System.Type[] { typeof(OdDgElement), typeof(
OdDbVoidPtrArray), typeof(
OdGeVector3d), typeof(
int) };
298 private static global::System.Type[] swigMethodTypes6 =
new global::System.Type[] { typeof(OdDgElement), typeof(
OdGePoint3dArray) };
299 private static global::System.Type[] swigMethodTypes7 =
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)
static HandleRef getCPtr(OdRxObject obj)
static HandleRef getCPtr(OdDgElement obj)
static HandleRef getCPtr(OdDgGripDataPtrArray obj)
delegate int SwigDelegateOdDgGripPointsPE_2(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_4(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 stretchPoints)
delegate int SwigDelegateOdDgGripPointsPE_5(IntPtr pEntity, global::System.IntPtr grips, global::System.IntPtr offset, int bitFlags)
override void Dispose(bool disposing)
delegate int SwigDelegateOdDgGripPointsPE_8(IntPtr pEntity, int osnapMode, IntPtr gsSelectionMark, global::System.IntPtr pickPoint, global::System.IntPtr lastPoint, global::System.IntPtr xWorldToEye, global::System.IntPtr snapPoints)
virtual OdResult moveStretchPointsAt(OdDgElement pEntity, OdIntArray indices, OdGeVector3d offset)
static OdDgGripPointsPE cast(OdRxObject pObj)
OdDgGripPointsPE(IntPtr cPtr, bool cMemoryOwn)
virtual OdResult getStretchPoints(OdDgElement pEntity, OdGePoint3dArray stretchPoints)
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, global::System.IntPtr insert)
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_7(IntPtr pEntity, IntPtr indices, global::System.IntPtr offset)
delegate int SwigDelegateOdDgGripPointsPE_3(IntPtr pEntity, IntPtr indices, global::System.IntPtr offset)
static OdDgGripPointsPE createObject()
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 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 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)
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)