Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdGsMatrixParam.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.Core {
12
13using System;
14using System.Runtime.InteropServices;
15
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
20 public OdGsMatrixParam(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGsMatrixParam_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGsMatrixParam obj) {
26 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
27 }
28
29 protected override void Dispose(bool disposing) {
30 lock(this) {
31 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
32 if (swigCMemOwn) {
33 swigCMemOwn = false;
35 }
36 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
37 }
38 base.Dispose(disposing);
39 }
40 }
41
46
52
53 public static OdGsMatrixParam createObject(OdGeMatrix3d xValue) {// OdSmartPtr<OdGsMatrixParam>
54 MemoryManager mMan = MemoryManager.GetMemoryManager();
55 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
57
58 OdGsMatrixParam ret = null;
59 if (null != mTrans)
60 {
61 mTrans.AddObject((OdGsMatrixParam)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsMatrixParam),ptr, true));
62 ret = (OdGsMatrixParam)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsMatrixParam),ptr, false);
63 }
64 else
65 {
66 ret = (OdGsMatrixParam)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsMatrixParam),ptr, true);
67 }
68
70 return ret;
71}
72
73 public static OdGsMatrixParam createObject() {// OdSmartPtr<OdGsMatrixParam>
74 MemoryManager mMan = MemoryManager.GetMemoryManager();
75 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
77
78 OdGsMatrixParam ret = null;
79 if (null != mTrans)
80 {
81 mTrans.AddObject((OdGsMatrixParam)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsMatrixParam),ptr, true));
82 ret = (OdGsMatrixParam)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsMatrixParam),ptr, false);
83 }
84 else
85 {
86 ret = (OdGsMatrixParam)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsMatrixParam),ptr, true);
87 }
88
90 return ret;
91}
92
93 protected static string getRealClassName(IntPtr ptr) {
94 string ret = GlobalsPINVOKE.OdGsMatrixParam_getRealClassName(ptr /*SIMPLETYPE*/);
96 return ret;
97 }
98
99}
100
101}
static global::System.Exception Retrieve()
static void OdGsMatrixParam_setValue(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdGsMatrixParam_createObject__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGsMatrixParam_value(HandleRef jarg1)
static IntPtr OdGsMatrixParam_createObject__SWIG_1()
static void delete_OdGsMatrixParam(HandleRef jarg1)
static string OdGsMatrixParam_getRealClassName(IntPtr jarg1)
static HandleRef getCPtr(OdGeMatrix3d obj)
override void Dispose(bool disposing)
static OdGsMatrixParam createObject()
static OdGsMatrixParam createObject(OdGeMatrix3d xValue)
static string getRealClassName(IntPtr ptr)
OdGsMatrixParam(IntPtr cPtr, bool cMemoryOwn)
void setValue(OdGeMatrix3d xForm)
static HandleRef getCPtr(OdGsMatrixParam obj)