Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGeLinearEnt2d.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 OdGeLinearEnt2d(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGeLinearEnt2d_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGeLinearEnt2d 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(OdGeLinearEnt2d line, OdGePoint2d intPnt, OdGeTol tol) {
45 return ret;
46 }
47
48 public bool intersectWith(OdGeLinearEnt2d line, OdGePoint2d intPnt) {
51 return ret;
52 }
53
55IntPtr p_overlap = IntPtr.Zero; /*OUT_PARAM_OBJ PRE*/
56 try {
57 bool ret = GlobalsPINVOKE.OdGeLinearEnt2d_overlap__SWIG_0(swigCPtr, OdGeLinearEnt2d.getCPtr(line), out p_overlap, OdGeTol.getCPtr(tol));
59 return ret;
60 } finally {
61MemoryTransaction mTrans_overlap = MemoryManager.GetMemoryManager().GetCurrentTransaction();
62 if(mTrans_overlap != null)
63 mTrans_overlap.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdGeLinearEnt2d>(typeof(OdGeLinearEnt2d), p_overlap, true));
64 overlap = Teigha.Core.Helpers.odCreateObjectInternal<OdGeLinearEnt2d>(typeof(OdGeLinearEnt2d), p_overlap, mTrans_overlap == null);
65 /*OUT_PARAM_OBJ POST*/
66 }
67 }
68
70IntPtr p_overlap = IntPtr.Zero; /*OUT_PARAM_OBJ PRE*/
71 try {
72 bool ret = GlobalsPINVOKE.OdGeLinearEnt2d_overlap__SWIG_1(swigCPtr, OdGeLinearEnt2d.getCPtr(line), out p_overlap);
74 return ret;
75 } finally {
76MemoryTransaction mTrans_overlap = MemoryManager.GetMemoryManager().GetCurrentTransaction();
77 if(mTrans_overlap != null)
78 mTrans_overlap.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdGeLinearEnt2d>(typeof(OdGeLinearEnt2d), p_overlap, true));
79 overlap = Teigha.Core.Helpers.odCreateObjectInternal<OdGeLinearEnt2d>(typeof(OdGeLinearEnt2d), p_overlap, mTrans_overlap == null);
80 /*OUT_PARAM_OBJ POST*/
81 }
82 }
83
84 public bool isParallelTo(OdGeLinearEnt2d line, OdGeTol tol) {
87 return ret;
88 }
89
90 public bool isParallelTo(OdGeLinearEnt2d line) {
93 return ret;
94 }
95
96 public bool isPerpendicularTo(OdGeLinearEnt2d line, OdGeTol tol) {
99 return ret;
100 }
101
105 return ret;
106 }
107
108 public bool isColinearTo(OdGeLinearEnt2d line, OdGeTol tol) {
111 return ret;
112 }
113
114 public bool isColinearTo(OdGeLinearEnt2d line) {
117 return ret;
118 }
119
120 public void getPerpLine(OdGePoint2d point, OdGeLine2d perpLine) {
123 }
124
128 return ret;
129 }
130
134 return ret;
135 }
136
137 public void getLine(OdGeLine2d line) {
140 }
141
145 return ret;
146 }
147
152 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
153
159
160}
161
162}
static global::System.Exception Retrieve()
static bool OdGeLinearEnt2d_isPerpendicularTo__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdGeLinearEnt2d_getLine(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeLinearEnt2d_overlap__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, out IntPtr jarg3)
static bool OdGeLinearEnt2d_isParallelTo__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeLinearEnt2d_isColinearTo__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeLinearEnt2d_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 void OdGeLinearEnt2d_getPerpLine(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeLinearEnt2d_intersectWith__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeLinearEnt2d_isParallelTo__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeLinearEnt2d_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 bool OdGeLinearEnt2d_isPerpendicularTo__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeLinearEnt2d_direction(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdGeLinearEnt2d(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeLinearEnt2d_isColinearTo__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeLinearEnt2d_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeLinearEnt2d_pointOnLine(global::System.Runtime.InteropServices.HandleRef jarg1)
OdGe.EntityId type()
Definition: OdGeEntity2d.cs:57
static HandleRef getCPtr(OdGeLine2d obj)
Definition: OdGeLine2d.cs:25
Teigha.Core.OdGeVector2d vb_direction()
bool intersectWith(OdGeLinearEnt2d line, OdGePoint2d intPnt, OdGeTol tol)
bool isColinearTo(OdGeLinearEnt2d line, OdGeTol tol)
bool overlap(OdGeLinearEnt2d line, out OdGeLinearEnt2d overlap, OdGeTol tol)
bool isPerpendicularTo(OdGeLinearEnt2d line)
bool intersectWith(OdGeLinearEnt2d line, OdGePoint2d intPnt)
OdGeLinearEnt2d Assign(OdGeLinearEnt2d line)
bool isParallelTo(OdGeLinearEnt2d line)
bool isPerpendicularTo(OdGeLinearEnt2d line, OdGeTol tol)
bool overlap(OdGeLinearEnt2d line, out OdGeLinearEnt2d overlap)
Teigha.Core.OdGe.EntityId vb_type()
void getPerpLine(OdGePoint2d point, OdGeLine2d perpLine)
static HandleRef getCPtr(OdGeLinearEnt2d obj)
bool isParallelTo(OdGeLinearEnt2d line, OdGeTol tol)
void getLine(OdGeLine2d line)
OdGeLinearEnt2d(IntPtr cPtr, bool cMemoryOwn)
override void Dispose(bool disposing)
bool isColinearTo(OdGeLinearEnt2d line)
static HandleRef getCPtr(OdGePoint2d obj)
Definition: OdGePoint2d.cs:26
static HandleRef getCPtr(OdGeTol obj)
Definition: OdGeTol.cs:26