Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
CFxGripPointsPE.cs
Go to the documentation of this file.
1//------------------------------------------------------------------------------
2// <auto-generated />
3//
4// This file was automatically generated by SWIG (http://www.swig.org).
5// Version 4.0.2
6//
7// Do not make changes to this file unless you know what you are doing--modify
8// the SWIG interface file instead.
9//------------------------------------------------------------------------------
10
11namespace PCAD_DOT_NET {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16using Teigha.TD;
17
19 private Object locker = new Object();
20 private HandleRef swigCPtr;
21 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
22 public CFxGripPointsPE(IntPtr cPtr, bool cMemoryOwn) : base(PCADGlobalsPINVOKE.CFxGripPointsPE_SWIGUpcast(cPtr), cMemoryOwn) {
23 swigCPtr = new HandleRef(this, cPtr);
24 }
25
26 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 public static HandleRef getCPtr(CFxGripPointsPE obj) {
28 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
29 }
30
31 protected override void Dispose(bool disposing) {
32 lock(this) {
33 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
34 if (swigCMemOwn) {
35 swigCMemOwn = false;
37 }
38 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
39 }
40 base.Dispose(disposing);
41 }
42 }
43
47 return ret;
48 }
49
50 public new static OdRxClass desc() {
51 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),PCADGlobalsPINVOKE.CFxGripPointsPE_desc(),false); /*createInt 3_2*/
52
54 return ret;
55}
56
57 public override OdRxClass isA() {
58 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),PCADGlobalsPINVOKE.CFxGripPointsPE_isA(swigCPtr),false); /*createInt 3_2*/
59
61 return ret;
62}
63
64 public override OdRxObject queryX(OdRxClass protocolClass) {
65 OdRxObject ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),PCADGlobalsPINVOKE.CFxGripPointsPE_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass)),false); /*createInt 3_2*/
66
68 return ret;
69}
70
74 return ret;
75 }
76
77 public static OdResult getOsnapPoints(OdDbEntity pEntity, OsnapMode osnapMode, IntPtr /*SIMPLETYPE*/ gsSelectionMark, OdGePoint3d pickPoint, OdGePoint3d lastPoint, OdGeMatrix3d xWorldToEye, OdGePoint3dArray snapPoints, bool abortAllowed) {
78 OdResult ret = (OdResult)PCADGlobalsPINVOKE.CFxGripPointsPE_getOsnapPoints(OdDbEntity.getCPtr(pEntity), (int)osnapMode, gsSelectionMark /*SIMPLETYPE*/, OdGePoint3d.getCPtr(pickPoint), OdGePoint3d.getCPtr(lastPoint), OdGeMatrix3d.getCPtr(xWorldToEye), OdGePoint3dArray.getCPtr(snapPoints), abortAllowed);
80 return ret;
81 }
82
83 public virtual int getObjectCount() {
86 return ret;
87 }
88
89}
90
91}
static SWIGTYPE_p_OdSmartPtrT_CFxGripPointsPE_t cast(OdRxObject pObj)
static new OdRxClass desc()
override void Dispose(bool disposing)
static SWIGTYPE_p_OdSmartPtrT_CFxGripPointsPE_t createObject()
override OdRxClass isA()
override OdRxObject queryX(OdRxClass protocolClass)
static HandleRef getCPtr(CFxGripPointsPE obj)
CFxGripPointsPE(IntPtr cPtr, bool cMemoryOwn)
static OdResult getOsnapPoints(OdDbEntity pEntity, OsnapMode osnapMode, IntPtr gsSelectionMark, OdGePoint3d pickPoint, OdGePoint3d lastPoint, OdGeMatrix3d xWorldToEye, OdGePoint3dArray snapPoints, bool abortAllowed)
static IntPtr CFxGripPointsPE_desc()
static global::System.IntPtr CFxGripPointsPE_createObject()
static global::System.IntPtr CFxGripPointsPE_cast(HandleRef jarg1)
static IntPtr CFxGripPointsPE_isA(global::System.Runtime.InteropServices.HandleRef jarg1)
static int CFxGripPointsPE_getOsnapPoints(HandleRef jarg1, int jarg2, IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, bool jarg8)
static int CFxGripPointsPE_getObjectCount(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr CFxGripPointsPE_queryX(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void delete_CFxGripPointsPE(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdGeMatrix3d obj)
Definition: OdGeMatrix3d.cs:26
static HandleRef getCPtr(OdGePoint3dArray obj)
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
static HandleRef getCPtr(OdRxClass obj)
Definition: OdRxClass.cs:25
static HandleRef getCPtr(OdRxObject obj)
Definition: OdRxObject.cs:26
static HandleRef getCPtr(OdDbEntity obj)
Definition: OdDbEntity.cs:26