Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGiPlanarClipBoundary.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 OdGiPlanarClipBoundary(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGiPlanarClipBoundary_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGiPlanarClipBoundary 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
42 public class ClipPlane : global::System.IDisposable {
43 private Object locker = new Object();
44 private HandleRef swigCPtr;
45 protected bool swigCMemOwn;
46 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
47 public ClipPlane(IntPtr cPtr, bool cMemoryOwn) {
48 swigCMemOwn = cMemoryOwn;
49 swigCPtr = new HandleRef(this, cPtr);
50 }
51 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
52 public static HandleRef getCPtr(ClipPlane obj) {
53 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
54 }
55
56 ~ClipPlane() {
57 Dispose(false);
58 }
59
60 public void Dispose() {
61 Dispose(true);
62 global::System.GC.SuppressFinalize(this);
63 }
64
65 protected virtual void Dispose(bool disposing) {
66 lock(this) {
67 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
68 if (swigCMemOwn) {
69 swigCMemOwn = false;
71 }
72 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
73 }
74 }
75 }
76
78 set {
81 }
82 get {
83 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiPlanarClipBoundary_ClipPlane_m_origin_get(swigCPtr);
84 OdGePoint3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGePoint3d(cPtr, false);
86 return ret;
87 }
88 }
89
91 set {
94 }
95 get {
96 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiPlanarClipBoundary_ClipPlane_m_normal_get(swigCPtr);
97 OdGeVector3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeVector3d(cPtr, false);
99 return ret;
100 }
101 }
102
103 public ClipPlane() : this(GlobalsPINVOKE.new_OdGiPlanarClipBoundary_ClipPlane__SWIG_0(), true) {
105 }
106
107 public ClipPlane(OdGePoint3d origin, OdGeVector3d normal) : this(GlobalsPINVOKE.new_OdGiPlanarClipBoundary_ClipPlane__SWIG_1(OdGePoint3d.getCPtr(origin), OdGeVector3d.getCPtr(normal)), true) {
109 }
110
114 return ret;
115 }
116
120 return ret;
121 }
122
126 return ret;
127 }
128
132 return ret;
133 }
134
139 public Teigha.Core.OdGePoint3d vb_origin() { return this.origin(); }
140
141 }
142
143 public OdGiPlanarClipBoundary() : this(GlobalsPINVOKE.new_OdGiPlanarClipBoundary(), true) {
145 }
146
150 return ret;
151 }
152
154// csout array
156
158 return res;
159}
160
161 public void setClipPlanes(ClipPlaneArray pClipPlanes) {
164 }
165
167 OdGiSectionGeometryOutput ret = (OdGiSectionGeometryOutput)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiSectionGeometryOutput),GlobalsPINVOKE.OdGiPlanarClipBoundary_sectionGeometryOutput(swigCPtr),false); /*createInt 3_2*/
168
170 return ret;
171}
172
176 }
177
179 OdGiCuttedGeometryOutput ret = (OdGiCuttedGeometryOutput)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiCuttedGeometryOutput),GlobalsPINVOKE.OdGiPlanarClipBoundary_cuttedGeometryOutput(swigCPtr),false); /*createInt 3_2*/
180
182 return ret;
183}
184
188 }
189
190 public override OdGiAbstractClipBoundary clone() {
191 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiPlanarClipBoundary_clone(swigCPtr);
192 OdGiAbstractClipBoundary ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGiAbstractClipBoundary(cPtr, false);
194 return ret;
195 }
196
202
203}
204
205}
static HandleRef getCPtr(ClipPlaneArray obj)
static global::System.Exception Retrieve()
static void OdGiPlanarClipBoundary_setClipPlanes(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGiPlanarClipBoundary_ClipPlane_origin(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiPlanarClipBoundary_ClipPlane_m_normal_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGiPlanarClipBoundary_ClipPlane_normal(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdGiPlanarClipBoundary_type(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiPlanarClipBoundary_clipPlanes(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiPlanarClipBoundary_ClipPlane_m_origin_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGiPlanarClipBoundary_clone(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdGiPlanarClipBoundary_ClipPlane(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiPlanarClipBoundary_setSectionGeometryOutput(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static global::System.IntPtr OdGiPlanarClipBoundary_ClipPlane_m_normal_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiPlanarClipBoundary_ClipPlane_m_origin_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiPlanarClipBoundary_setCuttedGeometryOutput(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static IntPtr OdGiPlanarClipBoundary_sectionGeometryOutput(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdGiPlanarClipBoundary_cuttedGeometryOutput(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiPlanarClipBoundary_ClipPlane_setOrigin(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGiPlanarClipBoundary_ClipPlane_setNormal(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_OdGiPlanarClipBoundary(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
static HandleRef getCPtr(OdGeVector3d obj)
Definition: OdGeVector3d.cs:26
static HandleRef getCPtr(OdGiCuttedGeometryOutput obj)
OdGiPlanarClipBoundary.ClipPlane setNormal(OdGeVector3d normal)
ClipPlane(OdGePoint3d origin, OdGeVector3d normal)
OdGiPlanarClipBoundary.ClipPlane setOrigin(OdGePoint3d origin)
void setClipPlanes(ClipPlaneArray pClipPlanes)
OdGiSectionGeometryOutput sectionGeometryOutput()
override Teigha.Core.OdGiAbstractClipBoundary.BoundaryType vb_type()
override OdGiAbstractClipBoundary.BoundaryType type()
override OdGiAbstractClipBoundary clone()
void setSectionGeometryOutput(OdGiSectionGeometryOutput pSectionOutput)
override void Dispose(bool disposing)
void setCuttedGeometryOutput(OdGiCuttedGeometryOutput pCuttedOutput)
static HandleRef getCPtr(OdGiPlanarClipBoundary obj)
OdGiPlanarClipBoundary(IntPtr cPtr, bool cMemoryOwn)
OdGiCuttedGeometryOutput cuttedGeometryOutput()
static HandleRef getCPtr(OdGiSectionGeometryOutput obj)