Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDbBlockInsertionPoints.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 OdDbBlockInsertionPoints(IntPtr cPtr, bool cMemoryOwn) : base(TD_DbPINVOKE.OdDbBlockInsertionPoints_SWIGUpcast(cPtr), cMemoryOwn) {
22 swigCPtr = new HandleRef(this, cPtr);
23 }
24
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdDbBlockInsertionPoints 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.OdDbBlockInsertionPoints_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.OdDbBlockInsertionPoints_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass)),false); /*createInt 3_2*/
52
54 return ret;
55}
56
57 public virtual OdResult getInsertionPoints(OdDbBlockTableRecord pBlock, OdDbBlockReference pBlkRef, OdGePoint3dArray insPts, OdGeVector3dArray alignmentDirections) {
60 return ret;
61 }
62
63 protected static string getRealClassName(IntPtr /*SIMPLETYPE*/ ptr) {
64 string ret = TD_DbPINVOKE.OdDbBlockInsertionPoints_getRealClassName(ptr /*SIMPLETYPE*/);
66 return ret;
67 }
68
69}
70
71}
static HandleRef getCPtr(OdGePoint3dArray obj)
static HandleRef getCPtr(OdGeVector3dArray obj)
static HandleRef getCPtr(OdRxClass obj)
Definition: OdRxClass.cs:25
OdDbBlockInsertionPoints(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(OdDbBlockInsertionPoints obj)
override OdRxObject queryX(OdRxClass protocolClass)
virtual OdResult getInsertionPoints(OdDbBlockTableRecord pBlock, OdDbBlockReference pBlkRef, OdGePoint3dArray insPts, OdGeVector3dArray alignmentDirections)
override void Dispose(bool disposing)
static string getRealClassName(IntPtr ptr)
static HandleRef getCPtr(OdDbBlockReference obj)
static HandleRef getCPtr(OdDbBlockTableRecord obj)
static global::System.Exception Retrieve()
static int OdDbBlockInsertionPoints_getInsertionPoints(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static void delete_OdDbBlockInsertionPoints(HandleRef jarg1)
static IntPtr OdDbBlockInsertionPoints_isA(HandleRef jarg1)
static IntPtr OdDbBlockInsertionPoints_queryX(HandleRef jarg1, HandleRef jarg2)
static string OdDbBlockInsertionPoints_getRealClassName(IntPtr jarg1)