Extended .NET SDK Documentation 2025 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 new OdGeLinearEnt3d copy() {
43 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGeLinearEnt3d_copy(swigCPtr);
44 OdGeLinearEnt3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeLinearEnt3d(cPtr, false);
46 return ret;
47 }
48
54
60
66
72
78
79 public new OdGeLinearEnt3d scaleBy(double scaleFactor, OdGePoint3d basePoint) {
80 OdGeLinearEnt3d ret = new OdGeLinearEnt3d(GlobalsPINVOKE.OdGeLinearEnt3d_scaleBy__SWIG_0(swigCPtr, scaleFactor, OdGePoint3d.getCPtr(basePoint)), false);
82 return ret;
83 }
84
85 public new OdGeLinearEnt3d scaleBy(double scaleFactor) {
88 return ret;
89 }
90
96
102
108
114
115 public bool projIntersectWith(OdGeLinearEnt3d line, OdGeVector3d projDir, OdGePoint3d pntOnThisLine, OdGePoint3d pntOnOtherLine, OdGeTol tol) {
118 return ret;
119 }
120
121 public bool projIntersectWith(OdGeLinearEnt3d line, OdGeVector3d projDir, OdGePoint3d pntOnThisLine, OdGePoint3d pntOnOtherLine) {
124 return ret;
125 }
126
128IntPtr p_overlap = IntPtr.Zero; /*OUT_PARAM_OBJ PRE*/
129 try {
130 bool ret = GlobalsPINVOKE.OdGeLinearEnt3d_overlap__SWIG_0(swigCPtr, OdGeLinearEnt3d.getCPtr(line), out p_overlap, OdGeTol.getCPtr(tol));
132 return ret;
133 } finally {
134MemoryTransaction mTrans_overlap = MemoryManager.GetMemoryManager().GetCurrentTransaction();
135 if(mTrans_overlap != null)
136 mTrans_overlap.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdGeLinearEnt3d>(typeof(OdGeLinearEnt3d), p_overlap, true));
137 overlap = Teigha.Core.Helpers.odCreateObjectInternal<OdGeLinearEnt3d>(typeof(OdGeLinearEnt3d), p_overlap, mTrans_overlap == null);
138 /*OUT_PARAM_OBJ POST*/
139 }
140 }
141
143IntPtr p_overlap = IntPtr.Zero; /*OUT_PARAM_OBJ PRE*/
144 try {
145 bool ret = GlobalsPINVOKE.OdGeLinearEnt3d_overlap__SWIG_1(swigCPtr, OdGeLinearEnt3d.getCPtr(line), out p_overlap);
147 return ret;
148 } finally {
149MemoryTransaction mTrans_overlap = MemoryManager.GetMemoryManager().GetCurrentTransaction();
150 if(mTrans_overlap != null)
151 mTrans_overlap.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdGeLinearEnt3d>(typeof(OdGeLinearEnt3d), p_overlap, true));
152 overlap = Teigha.Core.Helpers.odCreateObjectInternal<OdGeLinearEnt3d>(typeof(OdGeLinearEnt3d), p_overlap, mTrans_overlap == null);
153 /*OUT_PARAM_OBJ POST*/
154 }
155 }
156
157 public bool isOn(OdGePlane plane, OdGeTol tol) {
160 return ret;
161 }
162
163 public bool isOn(OdGePlane plane) {
166 return ret;
167 }
168
174
180
186
192
198
204
210
216
222
228
233
239
245
250
256
261 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
262
268
269}
270
271}
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 global::System.IntPtr OdGeLinearEnt3d_mirror(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
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 global::System.IntPtr OdGeLinearEnt3d_rotateBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void delete_OdGeLinearEnt3d(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeLinearEnt3d_scaleBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
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 global::System.IntPtr OdGeLinearEnt3d_transformBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
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 global::System.IntPtr OdGeLinearEnt3d_rotateBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
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 global::System.IntPtr OdGeLinearEnt3d_translateBy(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 global::System.IntPtr OdGeLinearEnt3d_scaleBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef 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)
static global::System.IntPtr OdGeLinearEnt3d_copy(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdGeLine3d obj)
Definition OdGeLine3d.cs:25
bool isPerpendicularTo(OdGeLinearEnt3d line)
bool intersectWith(OdGePlanarEnt plane, OdGePoint3d intPnt, OdGeTol tol)
new OdGeLinearEnt3d translateBy(OdGeVector3d translateVec)
bool isPerpendicularTo(OdGePlanarEnt plane, OdGeTol tol)
new OdGeLinearEnt3d rotateBy(double angle, OdGeVector3d vect, OdGePoint3d basePoint)
bool isParallelTo(OdGeLinearEnt3d line)
Teigha.Core.OdGe.EntityId vb_type()
bool isParallelTo(OdGePlanarEnt plane, OdGeTol tol)
static HandleRef getCPtr(OdGeLinearEnt3d obj)
new OdGeLinearEnt3d mirror(OdGePlane plane)
void getLine(OdGeLine3d line)
new OdGeLinearEnt3d scaleBy(double scaleFactor)
OdGeLinearEnt3d Assign(OdGeLinearEnt3d line)
bool isColinearTo(OdGeLinearEnt3d line, OdGeTol tol)
new OdGeLinearEnt3d scaleBy(double scaleFactor, OdGePoint3d basePoint)
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)
new OdGeLinearEnt3d transformBy(OdGeMatrix3d xfm)
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)
new OdGeLinearEnt3d rotateBy(double angle, OdGeVector3d vect)
bool isPerpendicularTo(OdGePlanarEnt plane)
new OdGeLinearEnt3d copy()
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(OdGeMatrix3d obj)
static HandleRef getCPtr(OdGePlanarEnt obj)
static HandleRef getCPtr(OdGePlane obj)
Definition OdGePlane.cs:25
static HandleRef getCPtr(OdGePoint3d obj)
static HandleRef getCPtr(OdGeTol obj)
Definition OdGeTol.cs:26
static HandleRef getCPtr(OdGeVector3d obj)