Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdSiDynamicShapeImpl.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
16public class OdSiDynamicShapeImpl : OdSiShape, OdSiDynamicShape, global::System.IDisposable {
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 protected bool swigCMemOwn;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public OdSiDynamicShapeImpl(IntPtr cPtr, bool cMemoryOwn) {
22 swigCMemOwn = cMemoryOwn;
23 swigCPtr = new HandleRef(this, cPtr);
24 }
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdSiDynamicShapeImpl obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
31 Dispose(false);
32 }
33
34 public void Dispose() {
35 Dispose(true);
36 global::System.GC.SuppressFinalize(this);
37 }
38
39 protected virtual void Dispose(bool disposing) {
40 lock(this) {
41 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
42 if (swigCMemOwn) {
43 swigCMemOwn = false;
45 }
46 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
47 }
48 }
49 }
50
51 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
52 global::System.Runtime.InteropServices.HandleRef OdSiShape.GetInterfaceCPtr() {
53 return new global::System.Runtime.InteropServices.HandleRef(this, GlobalsPINVOKE.OdSiDynamicShapeImpl_OdSiShape_GetInterfaceCPtr(swigCPtr.Handle));
54 }
55
56 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
57 global::System.Runtime.InteropServices.HandleRef OdSiDynamicShape.GetInterfaceCPtr() {
58 return new global::System.Runtime.InteropServices.HandleRef(this, GlobalsPINVOKE.OdSiDynamicShapeImpl_OdSiDynamicShape_GetInterfaceCPtr(swigCPtr.Handle));
59 }
60
61 public virtual void update(OdGeExtents3d we) {
64 }
65
66 public virtual bool contains(OdGeExtents3d extents, bool planar, OdGeTol tol) {
67 bool ret = GlobalsPINVOKE.OdSiDynamicShapeImpl_contains(swigCPtr, OdGeExtents3d.getCPtr(extents), planar, OdGeTol.getCPtr(tol));
69 return ret;
70 }
71
72 public virtual bool intersects(OdGeExtents3d extents, bool planar, OdGeTol tol) {
73 bool ret = GlobalsPINVOKE.OdSiDynamicShapeImpl_intersects(swigCPtr, OdGeExtents3d.getCPtr(extents), planar, OdGeTol.getCPtr(tol));
75 return ret;
76 }
77
78 public virtual OdSiShape clone() {
80
82 return (OdSiShape)ret;
83}
84
85 public virtual void transform(OdGeMatrix3d arg0) {
88 }
89
90 public static bool isOverallSpace(OdSiShape ptr) {
93 return ret;
94 }
95
96 public static bool isNoSpace(OdSiShape ptr) {
99 return ret;
100 }
101
102 public static OdSiShape kOverallSpace {
103 get {
106 return ret;
107 }
108 }
109
110 public static OdSiShape kNoSpace {
111 get {
114 return ret;
115 }
116 }
117
118}
119
120}
static global::System.Exception Retrieve()
static global::System.IntPtr OdSiDynamicShapeImpl_clone(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdSiDynamicShapeImpl_kOverallSpace_get()
static global::System.IntPtr OdSiDynamicShapeImpl_OdSiShape_GetInterfaceCPtr(global::System.IntPtr jarg1)
static void OdSiDynamicShapeImpl_update(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_OdSiDynamicShapeImpl(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdSiDynamicShapeImpl_isNoSpace(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdSiDynamicShapeImpl_kNoSpace_get()
static void OdSiDynamicShapeImpl_transform(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdSiDynamicShapeImpl_intersects(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static bool OdSiDynamicShapeImpl_contains(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static bool OdSiDynamicShapeImpl_isOverallSpace(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdGeExtents3d obj)
static HandleRef getCPtr(OdGeMatrix3d obj)
Definition: OdGeMatrix3d.cs:26
static HandleRef getCPtr(OdGeTol obj)
Definition: OdGeTol.cs:26
static HandleRef getCPtr(OdSiDynamicShapeImpl obj)
virtual void Dispose(bool disposing)
virtual void transform(OdGeMatrix3d arg0)
OdSiDynamicShapeImpl(IntPtr cPtr, bool cMemoryOwn)
static bool isNoSpace(OdSiShape ptr)
virtual bool contains(OdGeExtents3d extents, bool planar, OdGeTol tol)
static bool isOverallSpace(OdSiShape ptr)
virtual bool intersects(OdGeExtents3d extents, bool planar, OdGeTol tol)
virtual void update(OdGeExtents3d we)
global::System.Runtime.InteropServices.HandleRef GetInterfaceCPtr()