Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGeBoundBlock3d.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 OdGeBoundBlock3d(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGeBoundBlock3d_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGeBoundBlock3d 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 OdGeBoundBlock3d() : this(GlobalsPINVOKE.new_OdGeBoundBlock3d__SWIG_0(), true) {
44 }
45
46 public OdGeBoundBlock3d(OdGePoint3d base_, OdGeVector3d side1, OdGeVector3d side2, OdGeVector3d side3) : this(GlobalsPINVOKE.new_OdGeBoundBlock3d__SWIG_1(OdGePoint3d.getCPtr(base_), OdGeVector3d.getCPtr(side1), OdGeVector3d.getCPtr(side2), OdGeVector3d.getCPtr(side3)), true) {
48 }
49
50 public OdGeBoundBlock3d(OdGePoint3d point1, OdGePoint3d point2) : this(GlobalsPINVOKE.new_OdGeBoundBlock3d__SWIG_2(OdGePoint3d.getCPtr(point1), OdGePoint3d.getCPtr(point2)), true) {
52 }
53
54 public OdGeBoundBlock3d(OdGeBoundBlock3d source) : this(GlobalsPINVOKE.new_OdGeBoundBlock3d__SWIG_3(OdGeBoundBlock3d.getCPtr(source)), true) {
56 }
57
58 public OdGeBoundBlock3d(OdGeMatrix3d lcs, OdGeExtents3d localBox) : this(GlobalsPINVOKE.new_OdGeBoundBlock3d__SWIG_4(OdGeMatrix3d.getCPtr(lcs), OdGeExtents3d.getCPtr(localBox)), true) {
60 }
61
65 }
66
67 public void get(OdGePoint3d base_, OdGeVector3d side1, OdGeVector3d side2, OdGeVector3d side3) {
70 }
71
75 return ret;
76 }
77
78 public OdGeBoundBlock3d set(OdGePoint3d base_, OdGeVector3d side1, OdGeVector3d side2, OdGeVector3d side3) {
81 return ret;
82 }
83
87 return ret;
88 }
89
90 public OdGeBoundBlock3d swell(double distance) {
91 OdGeBoundBlock3d ret = new OdGeBoundBlock3d(GlobalsPINVOKE.OdGeBoundBlock3d_swell(swigCPtr, distance), false);
93 return ret;
94 }
95
96 public bool contains(OdGePoint3d point, OdGeTol tol) {
99 return ret;
100 }
101
102 public bool isDisjoint(OdGeBoundBlock3d block, OdGeTol tol) {
105 return ret;
106 }
107
108 public bool isDisjoint(OdGeBoundBlock3d block) {
111 return ret;
112 }
113
114 public bool isBox() {
115 bool ret = GlobalsPINVOKE.OdGeBoundBlock3d_isBox(swigCPtr);
117 return ret;
118 }
119
120 public OdGeBoundBlock3d setToBox(bool toBox) {
123 return ret;
124 }
125
129 return ret;
130 }
131
135 return ret;
136 }
137
141 return ret;
142 }
143
147 return ret;
148 }
149
150 public void setToBoxOrtho(OdGeVector3d dir1, OdGeVector3d dir2, OdGeVector3d dir3) {
153 }
154
155 public void setToBoxOrtho() {
158 }
159
164 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
165
166}
167
168}
static global::System.Exception Retrieve()
static global::System.IntPtr OdGeBoundBlock3d_center(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGeBoundBlock3d_setToBoxOrtho__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeBoundBlock3d_contains(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeBoundBlock3d_minPoint(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeBoundBlock3d_set__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeBoundBlock3d_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeBoundBlock3d_isDisjoint__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeBoundBlock3d_isDisjoint__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdGeBoundBlock3d_get(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static bool OdGeBoundBlock3d_isBox(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeBoundBlock3d_swell(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeBoundBlock3d_setToBox(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static global::System.IntPtr OdGeBoundBlock3d_set__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static global::System.IntPtr OdGeBoundBlock3d_extend(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeBoundBlock3d_maxPoint(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGeBoundBlock3d_getMinMaxPoints(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void delete_OdGeBoundBlock3d(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGeBoundBlock3d_setToBoxOrtho__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static HandleRef getCPtr(OdGeBoundBlock3d obj)
override void Dispose(bool disposing)
OdGeBoundBlock3d extend(OdGePoint3d point)
OdGeBoundBlock3d(IntPtr cPtr, bool cMemoryOwn)
bool contains(OdGePoint3d point, OdGeTol tol)
OdGeBoundBlock3d swell(double distance)
OdGeBoundBlock3d(OdGeMatrix3d lcs, OdGeExtents3d localBox)
void setToBoxOrtho(OdGeVector3d dir1, OdGeVector3d dir2, OdGeVector3d dir3)
OdGeBoundBlock3d(OdGePoint3d base_, OdGeVector3d side1, OdGeVector3d side2, OdGeVector3d side3)
bool isDisjoint(OdGeBoundBlock3d block)
void getMinMaxPoints(OdGePoint3d p1, OdGePoint3d p2)
OdGeBoundBlock3d setToBox(bool toBox)
bool isDisjoint(OdGeBoundBlock3d block, OdGeTol tol)
Teigha.Core.OdGe.EntityId vb_type()
OdGeBoundBlock3d(OdGeBoundBlock3d source)
OdGeBoundBlock3d(OdGePoint3d point1, OdGePoint3d point2)
OdGeBoundBlock3d Assign(OdGeBoundBlock3d block)
OdGe.EntityId type()
Definition: OdGeEntity3d.cs:57
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
static HandleRef getCPtr(OdGeTol obj)
Definition: OdGeTol.cs:26
static HandleRef getCPtr(OdGeVector3d obj)
Definition: OdGeVector3d.cs:26