Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdSiShapeImpl.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 OdSiShapeImpl : OdSiShape, 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 OdSiShapeImpl(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(OdSiShapeImpl 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.OdSiShapeImpl_OdSiShape_GetInterfaceCPtr(swigCPtr.Handle));
54 }
55
56 public virtual bool contains(OdGeExtents3d extents, bool planar, OdGeTol tol) {
57 bool ret = GlobalsPINVOKE.OdSiShapeImpl_contains(swigCPtr, OdGeExtents3d.getCPtr(extents), planar, OdGeTol.getCPtr(tol));
59 return ret;
60 }
61
62 public virtual bool intersects(OdGeExtents3d extents, bool planar, OdGeTol tol) {
63 bool ret = GlobalsPINVOKE.OdSiShapeImpl_intersects(swigCPtr, OdGeExtents3d.getCPtr(extents), planar, OdGeTol.getCPtr(tol));
65 return ret;
66 }
67
68 public virtual OdSiShape clone() {
70
72 return (OdSiShape)ret;
73}
74
75 public virtual void transform(OdGeMatrix3d arg0) {
78 }
79
80 public static bool isOverallSpace(OdSiShape ptr) {
83 return ret;
84 }
85
86 public static bool isNoSpace(OdSiShape ptr) {
89 return ret;
90 }
91
92 public static OdSiShape kOverallSpace {
93 get {
96 return ret;
97 }
98 }
99
100 public static OdSiShape kNoSpace {
101 get {
104 return ret;
105 }
106 }
107
108}
109
110}
static global::System.Exception Retrieve()
static bool OdSiShapeImpl_isNoSpace(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdSiShapeImpl_clone(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdSiShapeImpl_OdSiShape_GetInterfaceCPtr(global::System.IntPtr jarg1)
static global::System.IntPtr OdSiShapeImpl_kNoSpace_get()
static bool OdSiShapeImpl_contains(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static bool OdSiShapeImpl_intersects(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static bool OdSiShapeImpl_isOverallSpace(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdSiShapeImpl_kOverallSpace_get()
static void delete_OdSiShapeImpl(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdSiShapeImpl_transform(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static HandleRef getCPtr(OdGeExtents3d obj)
static HandleRef getCPtr(OdGeMatrix3d obj)
Definition: OdGeMatrix3d.cs:26
static HandleRef getCPtr(OdGeTol obj)
Definition: OdGeTol.cs:26
static OdSiShape kNoSpace
virtual bool intersects(OdGeExtents3d extents, bool planar, OdGeTol tol)
OdSiShapeImpl(IntPtr cPtr, bool cMemoryOwn)
static OdSiShape kOverallSpace
virtual OdSiShape clone()
static bool isNoSpace(OdSiShape ptr)
virtual void Dispose(bool disposing)
virtual bool contains(OdGeExtents3d extents, bool planar, OdGeTol tol)
virtual void transform(OdGeMatrix3d arg0)
static HandleRef getCPtr(OdSiShapeImpl obj)
static bool isOverallSpace(OdSiShape ptr)
global::System.Runtime.InteropServices.HandleRef GetInterfaceCPtr()