Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGePlane.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
16public class OdGePlane : OdGePlanarEnt {
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
20 public OdGePlane(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGePlane_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGePlane 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 static OdGePlane kXYPlane {
43 get {
44 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGePlane_kXYPlane_get();
45 OdGePlane ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGePlane(cPtr, false);
47 return ret;
48 }
49 }
50
51 public static OdGePlane kYZPlane {
52 get {
53 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGePlane_kYZPlane_get();
54 OdGePlane ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGePlane(cPtr, false);
56 return ret;
57 }
58 }
59
60 public static OdGePlane kZXPlane {
61 get {
62 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGePlane_kZXPlane_get();
63 OdGePlane ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGePlane(cPtr, false);
65 return ret;
66 }
67 }
68
69 public OdGePlane() : this(GlobalsPINVOKE.new_OdGePlane__SWIG_0(), true) {
71 }
72
73 public OdGePlane(OdGePlane plane) : this(GlobalsPINVOKE.new_OdGePlane__SWIG_1(OdGePlane.getCPtr(plane)), true) {
75 }
76
77 public OdGePlane(OdGePoint3d origin, OdGeVector3d normal) : this(GlobalsPINVOKE.new_OdGePlane__SWIG_2(OdGePoint3d.getCPtr(origin), OdGeVector3d.getCPtr(normal)), true) {
79 }
80
81 public OdGePlane(OdGePoint3d uPnt, OdGePoint3d origin, OdGePoint3d vPnt) : this(GlobalsPINVOKE.new_OdGePlane__SWIG_3(OdGePoint3d.getCPtr(uPnt), OdGePoint3d.getCPtr(origin), OdGePoint3d.getCPtr(vPnt)), true) {
83 }
84
85 public OdGePlane(OdGePoint3d origin, OdGeVector3d uAxis, OdGeVector3d vAxis) : this(GlobalsPINVOKE.new_OdGePlane__SWIG_4(OdGePoint3d.getCPtr(origin), OdGeVector3d.getCPtr(uAxis), OdGeVector3d.getCPtr(vAxis)), true) {
87 }
88
89 public OdGePlane(double a, double b, double c, double d) : this(GlobalsPINVOKE.new_OdGePlane__SWIG_5(a, b, c, d), true) {
91 }
92
93 public bool intersectWith(OdGePlane plane, OdGeLine3d intLine, OdGeTol tol) {
96 return ret;
97 }
98
99 public bool intersectWith(OdGePlane plane, OdGeLine3d intLine) {
102 return ret;
103 }
104
105 public bool intersectWith(OdGeBoundedPlane plane, OdGeLineSeg3d intLine, OdGeTol tol) {
108 return ret;
109 }
110
111 public bool intersectWith(OdGeBoundedPlane plane, OdGeLineSeg3d intLine) {
114 return ret;
115 }
116
117 public double signedDistanceTo(OdGePoint3d point) {
118 double ret = GlobalsPINVOKE.OdGePlane_signedDistanceTo(swigCPtr, OdGePoint3d.getCPtr(point));
120 return ret;
121 }
122
126 return ret;
127 }
128
129 public OdGePlane set(OdGePoint3d uPnt, OdGePoint3d origin, OdGePoint3d vPnt) {
132 return ret;
133 }
134
135 public OdGePlane set(double a, double b, double c, double d) {
136 OdGePlane ret = new OdGePlane(GlobalsPINVOKE.OdGePlane_set__SWIG_2(swigCPtr, a, b, c, d), false);
138 return ret;
139 }
140
141 public OdGePlane set(OdGePoint3d origin, OdGeVector3d uAxis, OdGeVector3d vAxis) {
144 return ret;
145 }
146
147 public OdGePlane Assign(OdGePlane plane) {
148 OdGePlane ret = new OdGePlane(GlobalsPINVOKE.OdGePlane_Assign(swigCPtr, OdGePlane.getCPtr(plane)), false);
150 return ret;
151 }
152
157 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
158
159}
160
161}
static global::System.Exception Retrieve()
static global::System.IntPtr OdGePlane_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGePlane_set__SWIG_3(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 OdGePlane_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)
static global::System.IntPtr OdGePlane_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 OdGePlane_set__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5)
static bool OdGePlane_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 OdGePlane_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 bool OdGePlane_intersectWith__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static double OdGePlane_signedDistanceTo(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGePlane_kYZPlane_get()
static bool OdGePlane_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 OdGePlane_kZXPlane_get()
static void delete_OdGePlane(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGePlane_kXYPlane_get()
static HandleRef getCPtr(OdGeBoundedPlane obj)
OdGe.EntityId type()
Definition: OdGeEntity3d.cs:57
static HandleRef getCPtr(OdGeLine3d obj)
Definition: OdGeLine3d.cs:25
static HandleRef getCPtr(OdGeLineSeg3d obj)
bool intersectWith(OdGeBoundedPlane plane, OdGeLineSeg3d intLine)
Definition: OdGePlane.cs:111
static OdGePlane kZXPlane
Definition: OdGePlane.cs:60
OdGePlane(OdGePoint3d uPnt, OdGePoint3d origin, OdGePoint3d vPnt)
Definition: OdGePlane.cs:81
OdGePlane(OdGePoint3d origin, OdGeVector3d uAxis, OdGeVector3d vAxis)
Definition: OdGePlane.cs:85
bool intersectWith(OdGePlane plane, OdGeLine3d intLine)
Definition: OdGePlane.cs:99
OdGePlane(double a, double b, double c, double d)
Definition: OdGePlane.cs:89
OdGePlane(OdGePoint3d origin, OdGeVector3d normal)
Definition: OdGePlane.cs:77
OdGePlane Assign(OdGePlane plane)
Definition: OdGePlane.cs:147
OdGePlane(OdGePlane plane)
Definition: OdGePlane.cs:73
double signedDistanceTo(OdGePoint3d point)
Definition: OdGePlane.cs:117
bool intersectWith(OdGeBoundedPlane plane, OdGeLineSeg3d intLine, OdGeTol tol)
Definition: OdGePlane.cs:105
static OdGePlane kXYPlane
Definition: OdGePlane.cs:42
OdGePlane(IntPtr cPtr, bool cMemoryOwn)
Definition: OdGePlane.cs:20
static OdGePlane kYZPlane
Definition: OdGePlane.cs:51
override void Dispose(bool disposing)
Definition: OdGePlane.cs:29
bool intersectWith(OdGePlane plane, OdGeLine3d intLine, OdGeTol tol)
Definition: OdGePlane.cs:93
Teigha.Core.OdGe.EntityId vb_type()
Definition: OdGePlane.cs:157
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