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(
TD_DbPINVOKE.new_OdDbGripOverrule(), 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();
124 OdResult ret = (
OdResult)(SwigDerivedClassHasMethod(
"getGripPoints", swigMethodTypes5) ?
TD_DbPINVOKE.
OdDbGripOverrule_getGripPointsSwigExplicitOdDbGripOverrule__SWIG_1(swigCPtr,
OdDbEntity.
getCPtr(pSubject),
OdDbGripDataPtrArray.
getCPtr(gripsData), curViewUnitSize, gripSize,
OdGeVector3d.
getCPtr(curViewDir), bitFlags) :
TD_DbPINVOKE.
OdDbGripOverrule_getGripPoints__SWIG_1(swigCPtr,
OdDbEntity.
getCPtr(pSubject),
OdDbGripDataPtrArray.
getCPtr(gripsData), curViewUnitSize, gripSize,
OdGeVector3d.
getCPtr(curViewDir), bitFlags));
170 private void SwigDirectorConnect() {
171 if (SwigDerivedClassHasMethod(
"queryX", swigMethodTypes0))
173 if (SwigDerivedClassHasMethod(
"isA", swigMethodTypes1))
175 if (SwigDerivedClassHasMethod(
"copyFrom", swigMethodTypes2))
177 if (SwigDerivedClassHasMethod(
"isApplicable", swigMethodTypes3))
179 if (SwigDerivedClassHasMethod(
"getGripPoints", swigMethodTypes4))
181 if (SwigDerivedClassHasMethod(
"getGripPoints", swigMethodTypes5))
183 if (SwigDerivedClassHasMethod(
"moveGripPointsAt", swigMethodTypes6))
185 if (SwigDerivedClassHasMethod(
"moveGripPointsAt", swigMethodTypes7))
187 if (SwigDerivedClassHasMethod(
"getStretchPoints", swigMethodTypes8))
189 if (SwigDerivedClassHasMethod(
"moveStretchPointsAt", swigMethodTypes9))
191 if (SwigDerivedClassHasMethod(
"gripStatus", swigMethodTypes10))
193 TD_DbPINVOKE.
OdDbGripOverrule_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10);
196 private bool SwigDerivedClassHasMethod(
string methodName, global::System.Type[] methodTypes) {
197 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);
198 bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(
OdDbGripOverrule));
199 return hasDerivedMethod;
202 private IntPtr SwigDirectorMethodqueryX(IntPtr protocolClass) {
211 private IntPtr SwigDirectorMethodisA() {
218 private void SwigDirectorMethodcopyFrom(IntPtr pSource) {
224 private bool SwigDirectorMethodisApplicable(IntPtr pOverruledSubject) {
230 private int SwigDirectorMethodgetGripPoints__SWIG_0(IntPtr pSubject, global::System.IntPtr gripPoints) {
232 (OdDbEntity)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),pSubject,
false)
236 private int SwigDirectorMethodgetGripPoints__SWIG_1(IntPtr pSubject, global::System.IntPtr gripsData,
double curViewUnitSize,
int gripSize, global::System.IntPtr curViewDir,
int bitFlags) {
238 (OdDbEntity)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),pSubject,
false)
242 private int SwigDirectorMethodmoveGripPointsAt__SWIG_0(IntPtr pSubject, IntPtr indices, global::System.IntPtr offset) {
244 (OdDbEntity)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),pSubject,
false)
251 private int SwigDirectorMethodmoveGripPointsAt__SWIG_1(IntPtr pSubject, global::System.IntPtr grips, global::System.IntPtr offset,
int bitFlags) {
253 (OdDbEntity)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),pSubject,
false)
257 private int SwigDirectorMethodgetStretchPoints(IntPtr pSubject, global::System.IntPtr stretchPoints) {
259 (OdDbEntity)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),pSubject,
false)
263 private int SwigDirectorMethodmoveStretchPointsAt(IntPtr pSubject, IntPtr indices, global::System.IntPtr offset) {
265 (OdDbEntity)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),pSubject,
false)
272 private void SwigDirectorMethodgripStatus(IntPtr pSubject,
int status) {
274 (OdDbEntity)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),pSubject,
false)
283 public delegate
int SwigDelegateOdDbGripOverrule_5(IntPtr pSubject, global::System.IntPtr gripsData,
double curViewUnitSize,
int gripSize, global::System.IntPtr curViewDir,
int bitFlags);
302 private static global::System.Type[] swigMethodTypes0 =
new global::System.Type[] { typeof(
OdRxClass) };
303 private static global::System.Type[] swigMethodTypes1 =
new global::System.Type[] { };
304 private static global::System.Type[] swigMethodTypes2 =
new global::System.Type[] { typeof(
OdRxObject) };
305 private static global::System.Type[] swigMethodTypes3 =
new global::System.Type[] { typeof(
OdRxObject) };
306 private static global::System.Type[] swigMethodTypes4 =
new global::System.Type[] { typeof(OdDbEntity), typeof(
OdGePoint3dArray) };
307 private static global::System.Type[] swigMethodTypes5 =
new global::System.Type[] { typeof(OdDbEntity), typeof(
OdDbGripDataPtrArray), typeof(
double), typeof(
int), typeof(
OdGeVector3d), typeof(
int) };
308 private static global::System.Type[] swigMethodTypes6 =
new global::System.Type[] { typeof(OdDbEntity), typeof(
OdIntArray), typeof(
OdGeVector3d) };
309 private static global::System.Type[] swigMethodTypes7 =
new global::System.Type[] { typeof(OdDbEntity), typeof(
OdDbVoidPtrArray), typeof(
OdGeVector3d), typeof(
int) };
310 private static global::System.Type[] swigMethodTypes8 =
new global::System.Type[] { typeof(OdDbEntity), typeof(
OdGePoint3dArray) };
311 private static global::System.Type[] swigMethodTypes9 =
new global::System.Type[] { typeof(OdDbEntity), typeof(
OdIntArray), typeof(
OdGeVector3d) };
312 private static global::System.Type[] swigMethodTypes10 =
new global::System.Type[] { typeof(OdDbEntity), typeof(
GripStat) };
static void OdDbGripOverrule_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, OdDbGripOverrule.SwigDelegateOdDbGripOverrule_0 delegate0, OdDbGripOverrule.SwigDelegateOdDbGripOverrule_1 delegate1, OdDbGripOverrule.SwigDelegateOdDbGripOverrule_2 delegate2, OdDbGripOverrule.SwigDelegateOdDbGripOverrule_3 delegate3, OdDbGripOverrule.SwigDelegateOdDbGripOverrule_4 delegate4, OdDbGripOverrule.SwigDelegateOdDbGripOverrule_5 delegate5, OdDbGripOverrule.SwigDelegateOdDbGripOverrule_6 delegate6, OdDbGripOverrule.SwigDelegateOdDbGripOverrule_7 delegate7, OdDbGripOverrule.SwigDelegateOdDbGripOverrule_8 delegate8, OdDbGripOverrule.SwigDelegateOdDbGripOverrule_9 delegate9, OdDbGripOverrule.SwigDelegateOdDbGripOverrule_10 delegate10)