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_OdDbGeometryOverrule(), 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();
118 OdResult ret = (
OdResult)(SwigDerivedClassHasMethod(
"intersectWith", swigMethodTypes4) ?
TD_DbPINVOKE.
OdDbGeometryOverrule_intersectWithSwigExplicitOdDbGeometryOverrule__SWIG_0(swigCPtr,
OdDbEntity.
getCPtr(pThisEnt),
OdDbEntity.
getCPtr(pEnt), (
int)intType,
OdGePoint3dArray.
getCPtr(points), thisGsMarker , otherGsMarker ) :
TD_DbPINVOKE.
OdDbGeometryOverrule_intersectWith__SWIG_0(swigCPtr,
OdDbEntity.
getCPtr(pThisEnt),
OdDbEntity.
getCPtr(pEnt), (
int)intType,
OdGePoint3dArray.
getCPtr(points), thisGsMarker , otherGsMarker ));
124 OdResult ret = (
OdResult)(SwigDerivedClassHasMethod(
"intersectWith", swigMethodTypes5) ?
TD_DbPINVOKE.
OdDbGeometryOverrule_intersectWithSwigExplicitOdDbGeometryOverrule__SWIG_1(swigCPtr,
OdDbEntity.
getCPtr(pThisEnt),
OdDbEntity.
getCPtr(pEnt), (
int)intType,
OdGePoint3dArray.
getCPtr(points), thisGsMarker ) :
TD_DbPINVOKE.
OdDbGeometryOverrule_intersectWith__SWIG_1(swigCPtr,
OdDbEntity.
getCPtr(pThisEnt),
OdDbEntity.
getCPtr(pEnt), (
int)intType,
OdGePoint3dArray.
getCPtr(points), thisGsMarker ));
136 OdResult ret = (
OdResult)(SwigDerivedClassHasMethod(
"intersectWith", swigMethodTypes7) ?
TD_DbPINVOKE.
OdDbGeometryOverrule_intersectWithSwigExplicitOdDbGeometryOverrule__SWIG_3(swigCPtr,
OdDbEntity.
getCPtr(pThisEnt),
OdDbEntity.
getCPtr(pEnt), (
int)intType,
OdGePlane.
getCPtr(projPlane),
OdGePoint3dArray.
getCPtr(points), thisGsMarker , otherGsMarker ) :
TD_DbPINVOKE.
OdDbGeometryOverrule_intersectWith__SWIG_3(swigCPtr,
OdDbEntity.
getCPtr(pThisEnt),
OdDbEntity.
getCPtr(pEnt), (
int)intType,
OdGePlane.
getCPtr(projPlane),
OdGePoint3dArray.
getCPtr(points), thisGsMarker , otherGsMarker ));
142 OdResult ret = (
OdResult)(SwigDerivedClassHasMethod(
"intersectWith", swigMethodTypes8) ?
TD_DbPINVOKE.
OdDbGeometryOverrule_intersectWithSwigExplicitOdDbGeometryOverrule__SWIG_4(swigCPtr,
OdDbEntity.
getCPtr(pThisEnt),
OdDbEntity.
getCPtr(pEnt), (
int)intType,
OdGePlane.
getCPtr(projPlane),
OdGePoint3dArray.
getCPtr(points), thisGsMarker ) :
TD_DbPINVOKE.
OdDbGeometryOverrule_intersectWith__SWIG_4(swigCPtr,
OdDbEntity.
getCPtr(pThisEnt),
OdDbEntity.
getCPtr(pEnt), (
int)intType,
OdGePlane.
getCPtr(projPlane),
OdGePoint3dArray.
getCPtr(points), thisGsMarker ));
148 OdResult ret = (
OdResult)(SwigDerivedClassHasMethod(
"intersectWith", swigMethodTypes9) ?
TD_DbPINVOKE.
OdDbGeometryOverrule_intersectWithSwigExplicitOdDbGeometryOverrule__SWIG_5(swigCPtr,
OdDbEntity.
getCPtr(pThisEnt),
OdDbEntity.
getCPtr(pEnt), (
int)intType,
OdGePlane.
getCPtr(projPlane),
OdGePoint3dArray.
getCPtr(points)) :
TD_DbPINVOKE.
OdDbGeometryOverrule_intersectWith__SWIG_5(swigCPtr,
OdDbEntity.
getCPtr(pThisEnt),
OdDbEntity.
getCPtr(pEnt), (
int)intType,
OdGePlane.
getCPtr(projPlane),
OdGePoint3dArray.
getCPtr(points)));
165 private void SwigDirectorConnect() {
166 if (SwigDerivedClassHasMethod(
"queryX", swigMethodTypes0))
168 if (SwigDerivedClassHasMethod(
"isA", swigMethodTypes1))
170 if (SwigDerivedClassHasMethod(
"copyFrom", swigMethodTypes2))
172 if (SwigDerivedClassHasMethod(
"isApplicable", swigMethodTypes3))
174 if (SwigDerivedClassHasMethod(
"intersectWith", swigMethodTypes4))
176 if (SwigDerivedClassHasMethod(
"intersectWith", swigMethodTypes5))
178 if (SwigDerivedClassHasMethod(
"intersectWith", swigMethodTypes6))
180 if (SwigDerivedClassHasMethod(
"intersectWith", swigMethodTypes7))
182 if (SwigDerivedClassHasMethod(
"intersectWith", swigMethodTypes8))
184 if (SwigDerivedClassHasMethod(
"intersectWith", swigMethodTypes9))
186 if (SwigDerivedClassHasMethod(
"getGeomExtents", swigMethodTypes10))
188 TD_DbPINVOKE.
OdDbGeometryOverrule_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10);
191 private bool SwigDerivedClassHasMethod(
string methodName, global::System.Type[] methodTypes) {
192 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);
194 return hasDerivedMethod;
197 private IntPtr SwigDirectorMethodqueryX(IntPtr protocolClass) {
206 private IntPtr SwigDirectorMethodisA() {
213 private void SwigDirectorMethodcopyFrom(IntPtr pSource) {
219 private bool SwigDirectorMethodisApplicable(IntPtr pOverruledSubject) {
225 private int SwigDirectorMethodintersectWith__SWIG_0(IntPtr pThisEnt, IntPtr pEnt,
int intType, global::System.IntPtr points, IntPtr thisGsMarker, IntPtr otherGsMarker) {
227 (OdDbEntity)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),pThisEnt,
false)
229 (OdDbEntity)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),pEnt,
false)
233 private int SwigDirectorMethodintersectWith__SWIG_1(IntPtr pThisEnt, IntPtr pEnt,
int intType, global::System.IntPtr points, IntPtr thisGsMarker) {
235 (OdDbEntity)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),pThisEnt,
false)
237 (OdDbEntity)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),pEnt,
false)
241 private int SwigDirectorMethodintersectWith__SWIG_2(IntPtr pThisEnt, IntPtr pEnt,
int intType, global::System.IntPtr points) {
243 (OdDbEntity)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),pThisEnt,
false)
245 (OdDbEntity)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),pEnt,
false)
249 private int SwigDirectorMethodintersectWith__SWIG_3(IntPtr pThisEnt, IntPtr pEnt,
int intType, global::System.IntPtr projPlane, global::System.IntPtr points, IntPtr thisGsMarker, IntPtr otherGsMarker) {
251 (OdDbEntity)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),pThisEnt,
false)
253 (OdDbEntity)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),pEnt,
false)
257 private int SwigDirectorMethodintersectWith__SWIG_4(IntPtr pThisEnt, IntPtr pEnt,
int intType, global::System.IntPtr projPlane, global::System.IntPtr points, IntPtr thisGsMarker) {
259 (OdDbEntity)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),pThisEnt,
false)
261 (OdDbEntity)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),pEnt,
false)
265 private int SwigDirectorMethodintersectWith__SWIG_5(IntPtr pThisEnt, IntPtr pEnt,
int intType, global::System.IntPtr projPlane, global::System.IntPtr points) {
267 (OdDbEntity)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),pThisEnt,
false)
269 (OdDbEntity)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),pEnt,
false)
273 private int SwigDirectorMethodgetGeomExtents(IntPtr pSubject, global::System.IntPtr extents) {
275 (OdDbEntity)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),pSubject,
false)
286 public delegate
int SwigDelegateOdDbGeometryOverrule_7(IntPtr pThisEnt, IntPtr pEnt,
int intType, global::System.IntPtr projPlane, global::System.IntPtr points, IntPtr thisGsMarker, IntPtr otherGsMarker);
287 public delegate
int SwigDelegateOdDbGeometryOverrule_8(IntPtr pThisEnt, IntPtr pEnt,
int intType, global::System.IntPtr projPlane, global::System.IntPtr points, IntPtr thisGsMarker);
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(
OdRxObject) };
307 private static global::System.Type[] swigMethodTypes4 =
new global::System.Type[] { typeof(OdDbEntity), typeof(OdDbEntity), typeof(
Intersect), typeof(
OdGePoint3dArray), typeof(IntPtr), typeof(IntPtr) };
308 private static global::System.Type[] swigMethodTypes5 =
new global::System.Type[] { typeof(OdDbEntity), typeof(OdDbEntity), typeof(
Intersect), typeof(
OdGePoint3dArray), typeof(IntPtr) };
309 private static global::System.Type[] swigMethodTypes6 =
new global::System.Type[] { typeof(OdDbEntity), typeof(OdDbEntity), typeof(
Intersect), typeof(
OdGePoint3dArray) };
310 private static global::System.Type[] swigMethodTypes7 =
new global::System.Type[] { typeof(OdDbEntity), typeof(OdDbEntity), typeof(
Intersect), typeof(
OdGePlane), typeof(
OdGePoint3dArray), typeof(IntPtr), typeof(IntPtr) };
311 private static global::System.Type[] swigMethodTypes8 =
new global::System.Type[] { typeof(OdDbEntity), typeof(OdDbEntity), typeof(
Intersect), typeof(
OdGePlane), typeof(
OdGePoint3dArray), typeof(IntPtr) };
312 private static global::System.Type[] swigMethodTypes9 =
new global::System.Type[] { typeof(OdDbEntity), typeof(OdDbEntity), typeof(
Intersect), typeof(
OdGePlane), typeof(
OdGePoint3dArray) };
313 private static global::System.Type[] swigMethodTypes10 =
new global::System.Type[] { typeof(OdDbEntity), typeof(
OdGeExtents3d) };