Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDbAppEntityGrips.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 Teigha.TD {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16
18 private Object locker = new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public OdDbAppEntityGrips(IntPtr cPtr, bool cMemoryOwn) : base(TD_DbPINVOKE.OdDbAppEntityGrips_SWIGUpcast(cPtr), cMemoryOwn) {
22 swigCPtr = new HandleRef(this, cPtr);
23 }
24
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdDbAppEntityGrips obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
30 protected override void Dispose(bool disposing) {
31 lock(this) {
32 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
33 if (swigCMemOwn) {
34 swigCMemOwn = false;
36 }
37 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
38 }
39 base.Dispose(disposing);
40 }
41 }
42
43 public override OdRxClass isA() {
44 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),TD_DbPINVOKE.OdDbAppEntityGrips_isA(swigCPtr),false); /*createInt 3_2*/
45
47 return ret;
48}
49
50 public override OdRxObject queryX(OdRxClass protocolClass) {
51 OdRxObject ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),TD_DbPINVOKE.OdDbAppEntityGrips_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass)),false); /*createInt 3_2*/
52
54 return ret;
55}
56
57 public virtual OdResult getGripPoints(OdDbGripDataPtrArray grips, double curViewUnitSize, int gripSize, OdGeVector3d curViewDir, int bitflags, OdDbEntity pEntity) {
58 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbAppEntityGrips_getGripPoints(swigCPtr, OdDbGripDataPtrArray.getCPtr(grips), curViewUnitSize, gripSize, OdGeVector3d.getCPtr(curViewDir), bitflags, OdDbEntity.getCPtr(pEntity));
60 return ret;
61 }
62
63 public virtual OdResult moveGripPointsAt(OdDbVoidPtrArray gripAppData, OdGeVector3d offset, int bitflags, OdDbEntity pEntity) {
66 return ret;
67 }
68
69 public virtual void gripStatus(GripStat status, OdDbEntity pEntity) {
70 TD_DbPINVOKE.OdDbAppEntityGrips_gripStatus(swigCPtr, (int)status, OdDbEntity.getCPtr(pEntity));
72 }
73
74 protected static string getRealClassName(IntPtr /*SIMPLETYPE*/ ptr) {
75 string ret = TD_DbPINVOKE.OdDbAppEntityGrips_getRealClassName(ptr /*SIMPLETYPE*/);
77 return ret;
78 }
79
84 public virtual void vb_gripStatus(Teigha.Core.GripStat status, Teigha.TD.OdDbEntity pEntity) { this.gripStatus(status, pEntity); }
85
86}
87
88}
static HandleRef getCPtr(OdDbGripDataPtrArray obj)
static HandleRef getCPtr(OdDbVoidPtrArray obj)
static HandleRef getCPtr(OdGeVector3d obj)
Definition: OdGeVector3d.cs:26
static HandleRef getCPtr(OdRxClass obj)
Definition: OdRxClass.cs:25
override OdRxObject queryX(OdRxClass protocolClass)
virtual void gripStatus(GripStat status, OdDbEntity pEntity)
override void Dispose(bool disposing)
virtual OdResult moveGripPointsAt(OdDbVoidPtrArray gripAppData, OdGeVector3d offset, int bitflags, OdDbEntity pEntity)
virtual void vb_gripStatus(Teigha.Core.GripStat status, Teigha.TD.OdDbEntity pEntity)
virtual OdResult getGripPoints(OdDbGripDataPtrArray grips, double curViewUnitSize, int gripSize, OdGeVector3d curViewDir, int bitflags, OdDbEntity pEntity)
static string getRealClassName(IntPtr ptr)
static HandleRef getCPtr(OdDbAppEntityGrips obj)
OdDbAppEntityGrips(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(OdDbEntity obj)
Definition: OdDbEntity.cs:26
static global::System.Exception Retrieve()
static string OdDbAppEntityGrips_getRealClassName(IntPtr jarg1)
static IntPtr OdDbAppEntityGrips_isA(HandleRef jarg1)
static void delete_OdDbAppEntityGrips(HandleRef jarg1)
static void OdDbAppEntityGrips_gripStatus(HandleRef jarg1, int jarg2, HandleRef jarg3)
static int OdDbAppEntityGrips_moveGripPointsAt(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, HandleRef jarg5)
static int OdDbAppEntityGrips_getGripPoints(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, int jarg6, HandleRef jarg7)
static IntPtr OdDbAppEntityGrips_queryX(HandleRef jarg1, HandleRef jarg2)