Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGeBoundBlock2d.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 OdGeBoundBlock2d(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGeBoundBlock2d_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGeBoundBlock2d 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 OdGeBoundBlock2d() : this(GlobalsPINVOKE.new_OdGeBoundBlock2d__SWIG_0(), true) {
44 }
45
46 public OdGeBoundBlock2d(OdGePoint2d point1, OdGePoint2d point2) : this(GlobalsPINVOKE.new_OdGeBoundBlock2d__SWIG_1(OdGePoint2d.getCPtr(point1), OdGePoint2d.getCPtr(point2)), true) {
48 }
49
50 public OdGeBoundBlock2d(OdGePoint2d base_, OdGeVector2d dir1, OdGeVector2d dir2) : this(GlobalsPINVOKE.new_OdGeBoundBlock2d__SWIG_2(OdGePoint2d.getCPtr(base_), OdGeVector2d.getCPtr(dir1).Handle, OdGeVector2d.getCPtr(dir2).Handle), true) {
52 }
53
54 public OdGeBoundBlock2d(OdGeBoundBlock2d source) : this(GlobalsPINVOKE.new_OdGeBoundBlock2d__SWIG_3(OdGeBoundBlock2d.getCPtr(source)), true) {
56 }
57
61 }
62
63 public void get(OdGePoint2d base_, OdGeVector2d side1, OdGeVector2d side2) {
64 GlobalsPINVOKE.OdGeBoundBlock2d_get(swigCPtr, OdGePoint2d.getCPtr(base_), OdGeVector2d.getCPtr(side1).Handle, OdGeVector2d.getCPtr(side2).Handle);
66 }
67
71 return ret;
72 }
73
74 public OdGeBoundBlock2d set(OdGePoint2d base_, OdGeVector2d side1, OdGeVector2d side2) {
77 return ret;
78 }
79
83 return ret;
84 }
85
86 public OdGeBoundBlock2d swell(double distance) {
87 OdGeBoundBlock2d ret = new OdGeBoundBlock2d(GlobalsPINVOKE.OdGeBoundBlock2d_swell(swigCPtr, distance), false);
89 return ret;
90 }
91
92 public bool contains(OdGePoint2d point, OdGeTol tol) {
95 return ret;
96 }
97
98 public bool isDisjoint(OdGeBoundBlock2d block, OdGeTol tol) {
101 return ret;
102 }
103
104 public bool isDisjoint(OdGeBoundBlock2d block) {
107 return ret;
108 }
109
113 return ret;
114 }
115
116 public bool isBox() {
117 bool ret = GlobalsPINVOKE.OdGeBoundBlock2d_isBox(swigCPtr);
119 return ret;
120 }
121
122 public OdGeBoundBlock2d setToBox(bool toBox) {
125 return ret;
126 }
127
132 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
133
134}
135
136}
static global::System.Exception Retrieve()
static global::System.IntPtr OdGeBoundBlock2d_setToBox(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static global::System.IntPtr OdGeBoundBlock2d_extend(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeBoundBlock2d_set__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3, IntPtr jarg4)
static global::System.IntPtr OdGeBoundBlock2d_set__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void delete_OdGeBoundBlock2d(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeBoundBlock2d_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeBoundBlock2d_contains(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeBoundBlock2d_isDisjoint__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeBoundBlock2d_isDisjoint__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGeBoundBlock2d_getMinMaxPoints(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeBoundBlock2d_isBox(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeBoundBlock2d_swell(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdGeBoundBlock2d_get(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3, IntPtr jarg4)
OdGeBoundBlock2d Assign(OdGeBoundBlock2d block)
OdGeBoundBlock2d setToBox(bool toBox)
OdGeBoundBlock2d(IntPtr cPtr, bool cMemoryOwn)
override void Dispose(bool disposing)
OdGeBoundBlock2d(OdGeBoundBlock2d source)
OdGeBoundBlock2d(OdGePoint2d base_, OdGeVector2d dir1, OdGeVector2d dir2)
OdGeBoundBlock2d extend(OdGePoint2d point)
bool contains(OdGePoint2d point, OdGeTol tol)
bool isDisjoint(OdGeBoundBlock2d block)
bool isDisjoint(OdGeBoundBlock2d block, OdGeTol tol)
void getMinMaxPoints(OdGePoint2d p1, OdGePoint2d p2)
Teigha.Core.OdGe.EntityId vb_type()
OdGeBoundBlock2d swell(double distance)
OdGeBoundBlock2d(OdGePoint2d point1, OdGePoint2d point2)
static HandleRef getCPtr(OdGeBoundBlock2d obj)
OdGe.EntityId type()
Definition: OdGeEntity2d.cs:57
static HandleRef getCPtr(OdGePoint2d obj)
Definition: OdGePoint2d.cs:26
static HandleRef getCPtr(OdGeTol obj)
Definition: OdGeTol.cs:26
static HandleRef getCPtr(OdGeVector2d obj)
Definition: OdGeVector2d.cs:26