Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGeLinearEnt3d.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 OdGeLinearEnt3d(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGeLinearEnt3d_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGeLinearEnt3d 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 bool intersectWith(OdGeLinearEnt3d line, OdGePoint3d intPt, OdGeTol tol) {
45 return ret;
46 }
47
48 public bool intersectWith(OdGeLinearEnt3d line, OdGePoint3d intPt) {
51 return ret;
52 }
53
54 public bool intersectWith(OdGePlanarEnt plane, OdGePoint3d intPnt, OdGeTol tol) {
57 return ret;
58 }
59
60 public bool intersectWith(OdGePlanarEnt plane, OdGePoint3d intPnt) {
63 return ret;
64 }
65
66 public bool projIntersectWith(OdGeLinearEnt3d line, OdGeVector3d projDir, OdGePoint3d pntOnThisLine, OdGePoint3d pntOnOtherLine, OdGeTol tol) {
69 return ret;
70 }
71
72 public bool projIntersectWith(OdGeLinearEnt3d line, OdGeVector3d projDir, OdGePoint3d pntOnThisLine, OdGePoint3d pntOnOtherLine) {
75 return ret;
76 }
77
79IntPtr p_overlap = IntPtr.Zero; /*OUT_PARAM_OBJ PRE*/
80 try {
81 bool ret = GlobalsPINVOKE.OdGeLinearEnt3d_overlap__SWIG_0(swigCPtr, OdGeLinearEnt3d.getCPtr(line), out p_overlap, OdGeTol.getCPtr(tol));
83 return ret;
84 } finally {
85MemoryTransaction mTrans_overlap = MemoryManager.GetMemoryManager().GetCurrentTransaction();
86 if(mTrans_overlap != null)
87 mTrans_overlap.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdGeLinearEnt3d>(typeof(OdGeLinearEnt3d), p_overlap, true));
88 overlap = Teigha.Core.Helpers.odCreateObjectInternal<OdGeLinearEnt3d>(typeof(OdGeLinearEnt3d), p_overlap, mTrans_overlap == null);
89 /*OUT_PARAM_OBJ POST*/
90 }
91 }
92
94IntPtr p_overlap = IntPtr.Zero; /*OUT_PARAM_OBJ PRE*/
95 try {
96 bool ret = GlobalsPINVOKE.OdGeLinearEnt3d_overlap__SWIG_1(swigCPtr, OdGeLinearEnt3d.getCPtr(line), out p_overlap);
98 return ret;
99 } finally {
100MemoryTransaction mTrans_overlap = MemoryManager.GetMemoryManager().GetCurrentTransaction();
101 if(mTrans_overlap != null)
102 mTrans_overlap.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdGeLinearEnt3d>(typeof(OdGeLinearEnt3d), p_overlap, true));
103 overlap = Teigha.Core.Helpers.odCreateObjectInternal<OdGeLinearEnt3d>(typeof(OdGeLinearEnt3d), p_overlap, mTrans_overlap == null);
104 /*OUT_PARAM_OBJ POST*/
105 }
106 }
107
108 public bool isOn(OdGePlane plane, OdGeTol tol) {
111 return ret;
112 }
113
114 public bool isOn(OdGePlane plane) {
117 return ret;
118 }
119
120 public bool isParallelTo(OdGeLinearEnt3d line, OdGeTol tol) {
123 return ret;
124 }
125
126 public bool isParallelTo(OdGeLinearEnt3d line) {
129 return ret;
130 }
131
132 public bool isParallelTo(OdGePlanarEnt plane, OdGeTol tol) {
135 return ret;
136 }
137
138 public bool isParallelTo(OdGePlanarEnt plane) {
141 return ret;
142 }
143
147 return ret;
148 }
149
153 return ret;
154 }
155
156 public bool isPerpendicularTo(OdGePlanarEnt plane, OdGeTol tol) {
159 return ret;
160 }
161
162 public bool isPerpendicularTo(OdGePlanarEnt plane) {
165 return ret;
166 }
167
168 public bool isColinearTo(OdGeLinearEnt3d line, OdGeTol tol) {
171 return ret;
172 }
173
174 public bool isColinearTo(OdGeLinearEnt3d line) {
177 return ret;
178 }
179
180 public void getPerpPlane(OdGePoint3d point, OdGePlane plane) {
183 }
184
188 return ret;
189 }
190
194 return ret;
195 }
196
197 public void getLine(OdGeLine3d line) {
200 }
201
205 return ret;
206 }
207
212 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
213
219
220}
221
222}
static global::System.Exception Retrieve()
static bool OdGeLinearEnt3d_intersectWith__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeLinearEnt3d_isParallelTo__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeLinearEnt3d_isColinearTo__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGeLinearEnt3d_getPerpPlane(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void delete_OdGeLinearEnt3d(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeLinearEnt3d_isOn__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeLinearEnt3d_isPerpendicularTo__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeLinearEnt3d_isPerpendicularTo__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeLinearEnt3d_intersectWith__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeLinearEnt3d_isParallelTo__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeLinearEnt3d_projIntersectWith__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, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6)
static bool OdGeLinearEnt3d_isOn__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeLinearEnt3d_isPerpendicularTo__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeLinearEnt3d_isColinearTo__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeLinearEnt3d_isParallelTo__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeLinearEnt3d_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeLinearEnt3d_overlap__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, out IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static bool OdGeLinearEnt3d_projIntersectWith__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 bool OdGeLinearEnt3d_overlap__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, out IntPtr jarg3)
static bool OdGeLinearEnt3d_isParallelTo__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeLinearEnt3d_intersectWith__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 void OdGeLinearEnt3d_getLine(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeLinearEnt3d_direction(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeLinearEnt3d_intersectWith__SWIG_2(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 global::System.IntPtr OdGeLinearEnt3d_pointOnLine(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeLinearEnt3d_isPerpendicularTo__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
OdGe.EntityId type()
Definition: OdGeEntity3d.cs:57
static HandleRef getCPtr(OdGeLine3d obj)
Definition: OdGeLine3d.cs:25
bool isPerpendicularTo(OdGeLinearEnt3d line)
bool intersectWith(OdGePlanarEnt plane, OdGePoint3d intPnt, OdGeTol tol)
bool isPerpendicularTo(OdGePlanarEnt plane, OdGeTol tol)
bool isParallelTo(OdGeLinearEnt3d line)
Teigha.Core.OdGe.EntityId vb_type()
bool isParallelTo(OdGePlanarEnt plane, OdGeTol tol)
static HandleRef getCPtr(OdGeLinearEnt3d obj)
void getLine(OdGeLine3d line)
OdGeLinearEnt3d Assign(OdGeLinearEnt3d line)
bool isColinearTo(OdGeLinearEnt3d line, OdGeTol tol)
bool isParallelTo(OdGeLinearEnt3d line, OdGeTol tol)
bool isOn(OdGePlane plane)
bool intersectWith(OdGeLinearEnt3d line, OdGePoint3d intPt, OdGeTol tol)
Teigha.Core.OdGeVector3d vb_direction()
bool isColinearTo(OdGeLinearEnt3d line)
bool intersectWith(OdGePlanarEnt plane, OdGePoint3d intPnt)
override void Dispose(bool disposing)
bool isOn(OdGePlane plane, OdGeTol tol)
bool intersectWith(OdGeLinearEnt3d line, OdGePoint3d intPt)
void getPerpPlane(OdGePoint3d point, OdGePlane plane)
bool overlap(OdGeLinearEnt3d line, out OdGeLinearEnt3d overlap, OdGeTol tol)
bool projIntersectWith(OdGeLinearEnt3d line, OdGeVector3d projDir, OdGePoint3d pntOnThisLine, OdGePoint3d pntOnOtherLine, OdGeTol tol)
bool isParallelTo(OdGePlanarEnt plane)
bool isPerpendicularTo(OdGePlanarEnt plane)
bool overlap(OdGeLinearEnt3d line, out OdGeLinearEnt3d overlap)
OdGeLinearEnt3d(IntPtr cPtr, bool cMemoryOwn)
bool isPerpendicularTo(OdGeLinearEnt3d line, OdGeTol tol)
bool projIntersectWith(OdGeLinearEnt3d line, OdGeVector3d projDir, OdGePoint3d pntOnThisLine, OdGePoint3d pntOnOtherLine)
static HandleRef getCPtr(OdGePlanarEnt obj)
static HandleRef getCPtr(OdGePlane obj)
Definition: OdGePlane.cs:25
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