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_OdDbSubentityOverrule(), 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();
136 OdResult ret = (
OdResult)(SwigDerivedClassHasMethod(
"getGripPointsAtSubentPath", swigMethodTypes7) ?
TD_DbPINVOKE.
OdDbSubentityOverrule_getGripPointsAtSubentPathSwigExplicitOdDbSubentityOverrule(swigCPtr,
OdDbEntity.
getCPtr(pSubject),
OdDbFullSubentPath.
getCPtr(path),
OdDbGripDataPtrArray.
getCPtr(grips), curViewUnitSize, gripSize,
OdGeVector3d.
getCPtr(curViewDir), bitflags ) :
TD_DbPINVOKE.
OdDbSubentityOverrule_getGripPointsAtSubentPath(swigCPtr,
OdDbEntity.
getCPtr(pSubject),
OdDbFullSubentPath.
getCPtr(path),
OdDbGripDataPtrArray.
getCPtr(grips), curViewUnitSize, gripSize,
OdGeVector3d.
getCPtr(curViewDir), bitflags ));
142 OdResult ret = (
OdResult)(SwigDerivedClassHasMethod(
"moveGripPointsAtSubentPaths", swigMethodTypes8) ?
TD_DbPINVOKE.
OdDbSubentityOverrule_moveGripPointsAtSubentPathsSwigExplicitOdDbSubentityOverrule(swigCPtr,
OdDbEntity.
getCPtr(pSubject),
OdDbFullSubentPathArray.
getCPtr(paths),
OdDbVoidPtrArray.
getCPtr(gripAppData),
OdGeVector3d.
getCPtr(offset), bitflags ) :
TD_DbPINVOKE.
OdDbSubentityOverrule_moveGripPointsAtSubentPaths(swigCPtr,
OdDbEntity.
getCPtr(pSubject),
OdDbFullSubentPathArray.
getCPtr(paths),
OdDbVoidPtrArray.
getCPtr(gripAppData),
OdGeVector3d.
getCPtr(offset), bitflags ));
148 OdResult ret = (
OdResult)(SwigDerivedClassHasMethod(
"getSubentPathsAtGsMarker", swigMethodTypes9) ?
TD_DbPINVOKE.
OdDbSubentityOverrule_getSubentPathsAtGsMarkerSwigExplicitOdDbSubentityOverrule__SWIG_0(swigCPtr,
OdDbEntity.
getCPtr(pSubject), (
int)type, gsMark ,
OdGePoint3d.
getCPtr(pickPoint),
OdGeMatrix3d.
getCPtr(viewXform),
OdDbFullSubentPathArray.
getCPtr(subentPaths),
OdDbObjectIdArray.
getCPtr(pEntAndInsertStack)) :
TD_DbPINVOKE.
OdDbSubentityOverrule_getSubentPathsAtGsMarker__SWIG_0(swigCPtr,
OdDbEntity.
getCPtr(pSubject), (
int)type, gsMark ,
OdGePoint3d.
getCPtr(pickPoint),
OdGeMatrix3d.
getCPtr(viewXform),
OdDbFullSubentPathArray.
getCPtr(subentPaths),
OdDbObjectIdArray.
getCPtr(pEntAndInsertStack)));
154 OdResult ret = (
OdResult)(SwigDerivedClassHasMethod(
"getSubentPathsAtGsMarker", swigMethodTypes10) ?
TD_DbPINVOKE.
OdDbSubentityOverrule_getSubentPathsAtGsMarkerSwigExplicitOdDbSubentityOverrule__SWIG_1(swigCPtr,
OdDbEntity.
getCPtr(pSubject), (
int)type, gsMark ,
OdGePoint3d.
getCPtr(pickPoint),
OdGeMatrix3d.
getCPtr(viewXform),
OdDbFullSubentPathArray.
getCPtr(subentPaths)) :
TD_DbPINVOKE.
OdDbSubentityOverrule_getSubentPathsAtGsMarker__SWIG_1(swigCPtr,
OdDbEntity.
getCPtr(pSubject), (
int)type, gsMark ,
OdGePoint3d.
getCPtr(pickPoint),
OdGeMatrix3d.
getCPtr(viewXform),
OdDbFullSubentPathArray.
getCPtr(subentPaths)));
166 MemoryManager mMan = MemoryManager.GetMemoryManager();
167 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
214 private void SwigDirectorConnect() {
215 if (SwigDerivedClassHasMethod(
"queryX", swigMethodTypes0))
217 if (SwigDerivedClassHasMethod(
"isA", swigMethodTypes1))
219 if (SwigDerivedClassHasMethod(
"copyFrom", swigMethodTypes2))
221 if (SwigDerivedClassHasMethod(
"isApplicable", swigMethodTypes3))
223 if (SwigDerivedClassHasMethod(
"deleteSubentPaths", swigMethodTypes4))
225 if (SwigDerivedClassHasMethod(
"addSubentPaths", swigMethodTypes5))
227 if (SwigDerivedClassHasMethod(
"transformSubentPathsBy", swigMethodTypes6))
229 if (SwigDerivedClassHasMethod(
"getGripPointsAtSubentPath", swigMethodTypes7))
231 if (SwigDerivedClassHasMethod(
"moveGripPointsAtSubentPaths", swigMethodTypes8))
233 if (SwigDerivedClassHasMethod(
"getSubentPathsAtGsMarker", swigMethodTypes9))
235 if (SwigDerivedClassHasMethod(
"getSubentPathsAtGsMarker", swigMethodTypes10))
237 if (SwigDerivedClassHasMethod(
"getGsMarkersAtSubentPath", swigMethodTypes11))
239 if (SwigDerivedClassHasMethod(
"subentPtr", swigMethodTypes12))
241 if (SwigDerivedClassHasMethod(
"getCompoundObjectTransform", swigMethodTypes13))
243 if (SwigDerivedClassHasMethod(
"getSubentPathGeomExtents", swigMethodTypes14))
245 if (SwigDerivedClassHasMethod(
"subentGripStatus", swigMethodTypes15))
247 if (SwigDerivedClassHasMethod(
"getSubentClassId", swigMethodTypes16))
249 TD_DbPINVOKE.
OdDbSubentityOverrule_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10, swigDelegate11, swigDelegate12, swigDelegate13, swigDelegate14, swigDelegate15, swigDelegate16);
252 private bool SwigDerivedClassHasMethod(
string methodName, global::System.Type[] methodTypes) {
253 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);
255 return hasDerivedMethod;
258 private IntPtr SwigDirectorMethodqueryX(IntPtr protocolClass) {
267 private IntPtr SwigDirectorMethodisA() {
274 private void SwigDirectorMethodcopyFrom(IntPtr pSource) {
280 private bool SwigDirectorMethodisApplicable(IntPtr pOverruledSubject) {
286 private int SwigDirectorMethoddeleteSubentPaths(IntPtr pSubject, global::System.IntPtr paths) {
288 (OdDbEntity)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),pSubject,
false)
289,
new OdDbFullSubentPathArray(paths,
false));
292 private int SwigDirectorMethodaddSubentPaths(IntPtr pSubject, global::System.IntPtr paths) {
294 (OdDbEntity)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),pSubject,
false)
295,
new OdDbFullSubentPathArray(paths,
false));
298 private int SwigDirectorMethodtransformSubentPathsBy(IntPtr pSubject, global::System.IntPtr paths, global::System.IntPtr xform) {
300 (OdDbEntity)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),pSubject,
false)
301,
new OdDbFullSubentPathArray(paths,
false),
new OdGeMatrix3d(xform,
false));
304 private int SwigDirectorMethodgetGripPointsAtSubentPath(IntPtr pSubject, global::System.IntPtr path, global::System.IntPtr grips,
double curViewUnitSize,
int gripSize, global::System.IntPtr curViewDir, UInt32 bitflags) {
306 (OdDbEntity)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),pSubject,
false)
310 private int SwigDirectorMethodmoveGripPointsAtSubentPaths(IntPtr pSubject, global::System.IntPtr paths, global::System.IntPtr gripAppData, global::System.IntPtr offset, UInt32 bitflags) {
312 (OdDbEntity)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),pSubject,
false)
316 private int SwigDirectorMethodgetSubentPathsAtGsMarker__SWIG_0(IntPtr pSubject,
int type, IntPtr gsMark, global::System.IntPtr pickPoint, global::System.IntPtr viewXform, global::System.IntPtr subentPaths, global::System.IntPtr pEntAndInsertStack) {
318 (OdDbEntity)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),pSubject,
false)
319, (
Teigha.
Core.SubentType)type, gsMark ,
new OdGePoint3d(pickPoint,
false),
new OdGeMatrix3d(viewXform,
false),
new OdDbFullSubentPathArray(subentPaths,
false),
new OdDbObjectIdArray(pEntAndInsertStack,
false));
322 private int SwigDirectorMethodgetSubentPathsAtGsMarker__SWIG_1(IntPtr pSubject,
int type, IntPtr gsMark, global::System.IntPtr pickPoint, global::System.IntPtr viewXform, global::System.IntPtr subentPaths) {
324 (OdDbEntity)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),pSubject,
false)
328 private int SwigDirectorMethodgetGsMarkersAtSubentPath(IntPtr pSubject, global::System.IntPtr subPath, global::System.IntPtr gsMarkers) {
330 (OdDbEntity)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),pSubject,
false)
331,
new OdDbFullSubentPath(subPath,
false),
new OdGsMarkerArray(gsMarkers,
false));
334 private IntPtr SwigDirectorMethodsubentPtr(IntPtr pSubject, global::System.IntPtr
id) {
336 (OdDbEntity)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),pSubject,
false)
337,
new OdDbFullSubentPath(
id,
false))).Handle;
340 private int SwigDirectorMethodgetCompoundObjectTransform(IntPtr pSubject, global::System.IntPtr xMat) {
342 (OdDbEntity)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),pSubject,
false)
346 private int SwigDirectorMethodgetSubentPathGeomExtents(IntPtr pSubject, global::System.IntPtr path, global::System.IntPtr extents) {
348 (OdDbEntity)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),pSubject,
false)
349,
new OdDbFullSubentPath(path,
false),
new OdGeExtents3d(extents,
false));
352 private void SwigDirectorMethodsubentGripStatus(IntPtr pSubject,
int status, global::System.IntPtr subentity) {
354 (OdDbEntity)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),pSubject,
false)
355, (
GripStat)status,
new OdDbFullSubentPath(subentity,
false));
358 private int SwigDirectorMethodgetSubentClassId(IntPtr pSubject, global::System.IntPtr path, IntPtr clsId) {
360 (OdDbEntity)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),pSubject,
false)
361,
new OdDbFullSubentPath(path,
false), clsId );
371 public delegate
int SwigDelegateOdDbSubentityOverrule_7(IntPtr pSubject, global::System.IntPtr path, global::System.IntPtr grips,
double curViewUnitSize,
int gripSize, global::System.IntPtr curViewDir, UInt32 bitflags);
373 public delegate
int SwigDelegateOdDbSubentityOverrule_9(IntPtr pSubject,
int type, IntPtr gsMark, global::System.IntPtr pickPoint, global::System.IntPtr viewXform, global::System.IntPtr subentPaths, global::System.IntPtr pEntAndInsertStack);
374 public delegate
int SwigDelegateOdDbSubentityOverrule_10(IntPtr pSubject,
int type, IntPtr gsMark, global::System.IntPtr pickPoint, global::System.IntPtr viewXform, global::System.IntPtr subentPaths);
400 private static global::System.Type[] swigMethodTypes0 =
new global::System.Type[] { typeof(
OdRxClass) };
401 private static global::System.Type[] swigMethodTypes1 =
new global::System.Type[] { };
402 private static global::System.Type[] swigMethodTypes2 =
new global::System.Type[] { typeof(
OdRxObject) };
403 private static global::System.Type[] swigMethodTypes3 =
new global::System.Type[] { typeof(
OdRxObject) };
404 private static global::System.Type[] swigMethodTypes4 =
new global::System.Type[] { typeof(OdDbEntity), typeof(OdDbFullSubentPathArray) };
405 private static global::System.Type[] swigMethodTypes5 =
new global::System.Type[] { typeof(OdDbEntity), typeof(OdDbFullSubentPathArray) };
406 private static global::System.Type[] swigMethodTypes6 =
new global::System.Type[] { typeof(OdDbEntity), typeof(OdDbFullSubentPathArray), typeof(
OdGeMatrix3d) };
407 private static global::System.Type[] swigMethodTypes7 =
new global::System.Type[] { typeof(OdDbEntity), typeof(OdDbFullSubentPath), typeof(
OdDbGripDataPtrArray), typeof(
double), typeof(
int), typeof(
OdGeVector3d), typeof(UInt32) };
408 private static global::System.Type[] swigMethodTypes8 =
new global::System.Type[] { typeof(OdDbEntity), typeof(OdDbFullSubentPathArray), typeof(
OdDbVoidPtrArray), typeof(
OdGeVector3d), typeof(UInt32) };
409 private static global::System.Type[] swigMethodTypes9 =
new global::System.Type[] { typeof(OdDbEntity), typeof(
Teigha.
Core.SubentType), typeof(IntPtr), typeof(
OdGePoint3d), typeof(
OdGeMatrix3d), typeof(OdDbFullSubentPathArray), typeof(OdDbObjectIdArray) };
410 private static global::System.Type[] swigMethodTypes10 =
new global::System.Type[] { typeof(OdDbEntity), typeof(
Teigha.
Core.SubentType), typeof(IntPtr), typeof(
OdGePoint3d), typeof(
OdGeMatrix3d), typeof(OdDbFullSubentPathArray) };
411 private static global::System.Type[] swigMethodTypes11 =
new global::System.Type[] { typeof(OdDbEntity), typeof(OdDbFullSubentPath), typeof(
OdGsMarkerArray) };
412 private static global::System.Type[] swigMethodTypes12 =
new global::System.Type[] { typeof(OdDbEntity), typeof(OdDbFullSubentPath) };
413 private static global::System.Type[] swigMethodTypes13 =
new global::System.Type[] { typeof(OdDbEntity), typeof(
OdGeMatrix3d) };
414 private static global::System.Type[] swigMethodTypes14 =
new global::System.Type[] { typeof(OdDbEntity), typeof(OdDbFullSubentPath), typeof(
OdGeExtents3d) };
415 private static global::System.Type[] swigMethodTypes15 =
new global::System.Type[] { typeof(OdDbEntity), typeof(
GripStat), typeof(OdDbFullSubentPath) };
416 private static global::System.Type[] swigMethodTypes16 =
new global::System.Type[] { typeof(OdDbEntity), typeof(OdDbFullSubentPath), typeof(IntPtr) };