Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdSiShapesIntersection.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 OdSiShapesIntersection : 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 OdSiShapesIntersection(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(OdSiShapesIntersection 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.OdSiShapesIntersection_OdSiShape_GetInterfaceCPtr(swigCPtr.Handle));
54 }
55
56 public OdSiShapesIntersection() : this(GlobalsPINVOKE.new_OdSiShapesIntersection__SWIG_0(), true) {
58 }
59
60 public OdSiShapesIntersection(OdSiShapeConstPtrArray shapes) : this(GlobalsPINVOKE.new_OdSiShapesIntersection__SWIG_1(OdSiShapeConstPtrArray.getCPtr(shapes)), true) {
62 }
63
65// csout array
67
69 return res;
70}
71
75 }
76
77 public void clear() {
80 }
81
82 public virtual bool contains(OdGeExtents3d extents, bool planar, OdGeTol tol) {
83 bool ret = GlobalsPINVOKE.OdSiShapesIntersection_contains(swigCPtr, OdGeExtents3d.getCPtr(extents), planar, OdGeTol.getCPtr(tol));
85 return ret;
86 }
87
88 public virtual bool intersects(OdGeExtents3d extents, bool planar, OdGeTol tol) {
89 bool ret = GlobalsPINVOKE.OdSiShapesIntersection_intersects(swigCPtr, OdGeExtents3d.getCPtr(extents), planar, OdGeTol.getCPtr(tol));
91 return ret;
92 }
93
94 public virtual OdSiShape clone() {
96
98 return (OdSiShape)ret;
99}
100
101 public virtual void transform(OdGeMatrix3d tf) {
104 }
105
106 public static bool isOverallSpace(OdSiShape ptr) {
109 return ret;
110 }
111
112 public static bool isNoSpace(OdSiShape ptr) {
115 return ret;
116 }
117
118 public static OdSiShape kOverallSpace {
119 get {
122 return ret;
123 }
124 }
125
126 public static OdSiShape kNoSpace {
127 get {
130 return ret;
131 }
132 }
133
134}
135
136}
static global::System.Exception Retrieve()
static global::System.IntPtr OdSiShapesIntersection_shapes(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdSiShapesIntersection(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdSiShapesIntersection_clear(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdSiShapesIntersection_clone(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdSiShapesIntersection_transform(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdSiShapesIntersection_kNoSpace_get()
static bool OdSiShapesIntersection_isOverallSpace(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdSiShapesIntersection_kOverallSpace_get()
static global::System.IntPtr OdSiShapesIntersection_OdSiShape_GetInterfaceCPtr(global::System.IntPtr jarg1)
static void OdSiShapesIntersection_reset(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdSiShapesIntersection_isNoSpace(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdSiShapesIntersection_contains(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static bool OdSiShapesIntersection_intersects(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
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(OdSiShapeConstPtrArray obj)
OdSiShapesIntersection(OdSiShapeConstPtrArray shapes)
OdSiShapesIntersection(IntPtr cPtr, bool cMemoryOwn)
virtual void transform(OdGeMatrix3d tf)
void reset(OdSiShapeConstPtrArray shapes)
virtual bool contains(OdGeExtents3d extents, bool planar, OdGeTol tol)
virtual void Dispose(bool disposing)
static bool isOverallSpace(OdSiShape ptr)
static HandleRef getCPtr(OdSiShapesIntersection obj)
virtual bool intersects(OdGeExtents3d extents, bool planar, OdGeTol tol)
global::System.Runtime.InteropServices.HandleRef GetInterfaceCPtr()