Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
CFxGeometryClipper.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 CFxGeometryClipper(IntPtr cPtr, bool cMemoryOwn) : base(PCADGlobalsPINVOKE.CFxGeometryClipper_SWIGUpcast(cPtr), cMemoryOwn) {
23 swigCPtr = new HandleRef(this, cPtr);
24 }
25
26 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 public static HandleRef getCPtr(CFxGeometryClipper 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
44 public static CFxGeometryClipper cast(OdRxObject pObj) {// OdSmartPtr<CFxGeometryClipper>
45 MemoryManager mMan = MemoryManager.GetMemoryManager();
46 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
48
49 CFxGeometryClipper ret = null;
50 if (null != mTrans)
51 {
52 mTrans.AddObject((CFxGeometryClipper)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(CFxGeometryClipper),ptr, true));
53 ret = (CFxGeometryClipper)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(CFxGeometryClipper),ptr, false);
54 }
55 else
56 {
57 ret = (CFxGeometryClipper)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(CFxGeometryClipper),ptr, true);
58 }
59
61 return ret;
62}
63
64 public new static OdRxClass desc() {
65 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),PCADGlobalsPINVOKE.CFxGeometryClipper_desc(),false); /*createInt 3_2*/
66
68 return ret;
69}
70
71 public override OdRxClass isA() {
72 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),PCADGlobalsPINVOKE.CFxGeometryClipper_isA(swigCPtr),false); /*createInt 3_2*/
73
75 return ret;
76}
77
78 public override OdRxObject queryX(OdRxClass protocolClass) {
79 OdRxObject ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),PCADGlobalsPINVOKE.CFxGeometryClipper_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass)),false); /*createInt 3_2*/
80
82 return ret;
83}
84
85 public static CFxGeometryClipper createObject() {// OdSmartPtr<CFxGeometryClipper>
86 MemoryManager mMan = MemoryManager.GetMemoryManager();
87 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
89
90 CFxGeometryClipper ret = null;
91 if (null != mTrans)
92 {
93 mTrans.AddObject((CFxGeometryClipper)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(CFxGeometryClipper),ptr, true));
94 ret = (CFxGeometryClipper)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(CFxGeometryClipper),ptr, false);
95 }
96 else
97 {
98 ret = (CFxGeometryClipper)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(CFxGeometryClipper),ptr, true);
99 }
100
102 return ret;
103}
104
105 public virtual void SetClipBoundary(CFxView pView) {
108 }
109
110 public virtual void SetClipBoundary(OdGiClipBoundary pClipBoundary) {
113 }
114
115 public virtual void SetTransform(OdGeMatrix3d input, OdGeMatrix3d output) {
118 }
119
122
124 return (OdGiConveyorGeometry)ret;
125}
126
127 protected static string getRealClassName(IntPtr /*SIMPLETYPE*/ ptr) {
128 string ret = PCADGlobalsPINVOKE.CFxGeometryClipper_getRealClassName(ptr /*SIMPLETYPE*/);
130 return ret;
131 }
132
133}
134
135}
virtual void SetClipBoundary(OdGiClipBoundary pClipBoundary)
CFxGeometryClipper(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(CFxGeometryClipper obj)
virtual void SetClipBoundary(CFxView pView)
virtual void SetTransform(OdGeMatrix3d input, OdGeMatrix3d output)
virtual OdGiConveyorGeometry GetClipper(OdGiConveyorGeometry geometry)
static CFxGeometryClipper cast(OdRxObject pObj)
override OdRxObject queryX(OdRxClass protocolClass)
static string getRealClassName(IntPtr ptr)
override void Dispose(bool disposing)
static CFxGeometryClipper createObject()
static HandleRef getCPtr(CFxView obj)
Definition: CFxView.cs:27
static void CFxGeometryClipper_SetClipBoundary__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr CFxGeometryClipper_desc()
static void delete_CFxGeometryClipper(HandleRef jarg1)
static IntPtr CFxGeometryClipper_cast(HandleRef jarg1)
static IntPtr CFxGeometryClipper_isA(HandleRef jarg1)
static string CFxGeometryClipper_getRealClassName(IntPtr jarg1)
static IntPtr CFxGeometryClipper_createObject()
static void CFxGeometryClipper_SetClipBoundary__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr CFxGeometryClipper_GetClipper(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxGeometryClipper_SetTransform(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static IntPtr CFxGeometryClipper_queryX(HandleRef jarg1, HandleRef jarg2)
static HandleRef getCPtr(OdGeMatrix3d obj)
Definition: OdGeMatrix3d.cs:26
static HandleRef getCPtr(OdGiClipBoundary obj)
static HandleRef getCPtr(OdRxClass obj)
Definition: OdRxClass.cs:25
static HandleRef getCPtr(OdRxObject obj)
Definition: OdRxObject.cs:26
global::System.Runtime.InteropServices.HandleRef GetInterfaceCPtr()