Extended .NET SDK Documentation 2025 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 new OdGePlane copy() {
43 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGePlane_copy(swigCPtr);
44 OdGePlane ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGePlane(cPtr, false);
46 return ret;
47 }
48
54
55 public new OdGePlane translateBy(OdGeVector3d translateVec) {
56 OdGePlane ret = new OdGePlane(GlobalsPINVOKE.OdGePlane_translateBy(swigCPtr, OdGeVector3d.getCPtr(translateVec)), false);
58 return ret;
59 }
60
61 public new OdGePlane rotateBy(double angle, OdGeVector3d vect, OdGePoint3d basePoint) {
62 OdGePlane ret = new OdGePlane(GlobalsPINVOKE.OdGePlane_rotateBy__SWIG_0(swigCPtr, angle, OdGeVector3d.getCPtr(vect), OdGePoint3d.getCPtr(basePoint)), false);
64 return ret;
65 }
66
67 public new OdGePlane rotateBy(double angle, OdGeVector3d vect) {
68 OdGePlane ret = new OdGePlane(GlobalsPINVOKE.OdGePlane_rotateBy__SWIG_1(swigCPtr, angle, OdGeVector3d.getCPtr(vect)), false);
70 return ret;
71 }
72
78
79 public new OdGePlane scaleBy(double scaleFactor, OdGePoint3d basePoint) {
80 OdGePlane ret = new OdGePlane(GlobalsPINVOKE.OdGePlane_scaleBy__SWIG_0(swigCPtr, scaleFactor, OdGePoint3d.getCPtr(basePoint)), false);
82 return ret;
83 }
84
85 public new OdGePlane scaleBy(double scaleFactor) {
86 OdGePlane ret = new OdGePlane(GlobalsPINVOKE.OdGePlane_scaleBy__SWIG_1(swigCPtr, scaleFactor), false);
88 return ret;
89 }
90
91 public static OdGePlane kXYPlane {
92 get {
93 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGePlane_kXYPlane_get();
94 OdGePlane ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGePlane(cPtr, false);
96 return ret;
97 }
98 }
99
100 public static OdGePlane kYZPlane {
101 get {
102 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGePlane_kYZPlane_get();
103 OdGePlane ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGePlane(cPtr, false);
105 return ret;
106 }
107 }
108
109 public static OdGePlane kZXPlane {
110 get {
111 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGePlane_kZXPlane_get();
112 OdGePlane ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGePlane(cPtr, false);
114 return ret;
115 }
116 }
117
118 public OdGePlane() : this(GlobalsPINVOKE.new_OdGePlane__SWIG_0(), true) {
120 }
121
122 public OdGePlane(OdGePlane plane) : this(GlobalsPINVOKE.new_OdGePlane__SWIG_1(OdGePlane.getCPtr(plane)), true) {
124 }
125
129
133
134 public OdGePlane(OdGePoint3d origin, OdGeVector3d uAxis, OdGeVector3d vAxis) : this(GlobalsPINVOKE.new_OdGePlane__SWIG_4(OdGePoint3d.getCPtr(origin), OdGeVector3d.getCPtr(uAxis), OdGeVector3d.getCPtr(vAxis)), true) {
136 }
137
138 public OdGePlane(double a, double b, double c, double d) : this(GlobalsPINVOKE.new_OdGePlane__SWIG_5(a, b, c, d), true) {
140 }
141
147
153
159
165
171
177
183
184 public OdGePlane set(double a, double b, double c, double d) {
185 OdGePlane ret = new OdGePlane(GlobalsPINVOKE.OdGePlane_set__SWIG_2(swigCPtr, a, b, c, d), false);
187 return ret;
188 }
189
195
201
206 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
207
208}
209
210}
static global::System.Exception Retrieve()
static global::System.IntPtr OdGePlane_rotateBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static global::System.IntPtr OdGePlane_translateBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGePlane_rotateBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
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 global::System.IntPtr OdGePlane_scaleBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
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_scaleBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGePlane_kYZPlane_get()
static global::System.IntPtr OdGePlane_copy(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGePlane_mirror(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
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_transformBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
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)
static HandleRef getCPtr(OdGeLine3d obj)
Definition OdGeLine3d.cs:25
static HandleRef getCPtr(OdGeLineSeg3d obj)
static HandleRef getCPtr(OdGeMatrix3d obj)
bool intersectWith(OdGeBoundedPlane plane, OdGeLineSeg3d intLine)
Definition OdGePlane.cs:160
new OdGePlane scaleBy(double scaleFactor, OdGePoint3d basePoint)
Definition OdGePlane.cs:79
static OdGePlane kZXPlane
Definition OdGePlane.cs:109
OdGePlane(OdGePoint3d uPnt, OdGePoint3d origin, OdGePoint3d vPnt)
Definition OdGePlane.cs:130
OdGePlane(OdGePoint3d origin, OdGeVector3d uAxis, OdGeVector3d vAxis)
Definition OdGePlane.cs:134
bool intersectWith(OdGePlane plane, OdGeLine3d intLine)
Definition OdGePlane.cs:148
OdGePlane(double a, double b, double c, double d)
Definition OdGePlane.cs:138
OdGePlane(OdGePoint3d origin, OdGeVector3d normal)
Definition OdGePlane.cs:126
new OdGePlane translateBy(OdGeVector3d translateVec)
Definition OdGePlane.cs:55
new OdGePlane rotateBy(double angle, OdGeVector3d vect, OdGePoint3d basePoint)
Definition OdGePlane.cs:61
OdGePlane Assign(OdGePlane plane)
Definition OdGePlane.cs:196
new OdGePlane transformBy(OdGeMatrix3d xfm)
Definition OdGePlane.cs:49
OdGePlane(OdGePlane plane)
Definition OdGePlane.cs:122
double signedDistanceTo(OdGePoint3d point)
Definition OdGePlane.cs:166
bool intersectWith(OdGeBoundedPlane plane, OdGeLineSeg3d intLine, OdGeTol tol)
Definition OdGePlane.cs:154
static OdGePlane kXYPlane
Definition OdGePlane.cs:91
new OdGePlane scaleBy(double scaleFactor)
Definition OdGePlane.cs:85
new OdGePlane mirror(OdGePlane plane)
Definition OdGePlane.cs:73
OdGePlane(IntPtr cPtr, bool cMemoryOwn)
Definition OdGePlane.cs:20
static OdGePlane kYZPlane
Definition OdGePlane.cs:100
override void Dispose(bool disposing)
Definition OdGePlane.cs:29
new OdGePlane copy()
Definition OdGePlane.cs:42
new OdGePlane rotateBy(double angle, OdGeVector3d vect)
Definition OdGePlane.cs:67
bool intersectWith(OdGePlane plane, OdGeLine3d intLine, OdGeTol tol)
Definition OdGePlane.cs:142
Teigha.Core.OdGe.EntityId vb_type()
Definition OdGePlane.cs:206
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)