Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdGeOffsetSurface.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 OdGeOffsetSurface(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGeOffsetSurface_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGeOffsetSurface 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 OdGeOffsetSurface copy() {
43 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGeOffsetSurface_copy(swigCPtr);
44 OdGeOffsetSurface ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeOffsetSurface(cPtr, false);
46 return ret;
47 }
48
54
60
66
72
78
79 public new OdGeOffsetSurface scaleBy(double scaleFactor, OdGePoint3d basePoint) {
82 return ret;
83 }
84
85 public new OdGeOffsetSurface scaleBy(double scaleFactor) {
88 return ret;
89 }
90
91 public OdGeOffsetSurface() : this(GlobalsPINVOKE.new_OdGeOffsetSurface__SWIG_0(), true) {
93 }
94
95 public OdGeOffsetSurface(OdGeSurface baseSurface, double offsetDistance, bool makeCopy) : this(GlobalsPINVOKE.new_OdGeOffsetSurface__SWIG_1(OdGeSurface.getCPtr(baseSurface), offsetDistance, makeCopy), true) {
97 }
98
99 public OdGeOffsetSurface(OdGeSurface baseSurface, double offsetDistance) : this(GlobalsPINVOKE.new_OdGeOffsetSurface__SWIG_2(OdGeSurface.getCPtr(baseSurface), offsetDistance), true) {
101 }
102
103 public OdGeOffsetSurface(OdGeOffsetSurface source) : this(GlobalsPINVOKE.new_OdGeOffsetSurface__SWIG_3(OdGeOffsetSurface.getCPtr(source)), true) {
105 }
106
107 public bool isPlane() {
108 bool ret = GlobalsPINVOKE.OdGeOffsetSurface_isPlane(swigCPtr);
110 return ret;
111 }
112
118
119 public bool isSphere() {
120 bool ret = GlobalsPINVOKE.OdGeOffsetSurface_isSphere(swigCPtr);
122 return ret;
123 }
124
130
131 public bool isCone() {
132 bool ret = GlobalsPINVOKE.OdGeOffsetSurface_isCone(swigCPtr);
134 return ret;
135 }
136
142
148
149 public bool isTorus() {
150 bool ret = GlobalsPINVOKE.OdGeOffsetSurface_isTorus(swigCPtr);
152 return ret;
153 }
154
155 public bool getSurface(ref OdGeSurface simpleSurface) {
156 bool ret = GlobalsPINVOKE.OdGeOffsetSurface_getSurface(swigCPtr, ref simpleSurface);
158 return ret;
159 }
160
165
166 public double offsetDist() {
167 double ret = GlobalsPINVOKE.OdGeOffsetSurface_offsetDist(swigCPtr);
169 return ret;
170 }
171
172 public OdGeOffsetSurface set(OdGeSurface baseSurface, double offsetDistance, bool makeCopy) {
173 OdGeOffsetSurface ret = new OdGeOffsetSurface(GlobalsPINVOKE.OdGeOffsetSurface_set__SWIG_0(swigCPtr, OdGeSurface.getCPtr(baseSurface), offsetDistance, makeCopy), false);
175 return ret;
176 }
177
178 public OdGeOffsetSurface set(OdGeSurface baseSurface, double offsetDistance) {
179 OdGeOffsetSurface ret = new OdGeOffsetSurface(GlobalsPINVOKE.OdGeOffsetSurface_set__SWIG_1(swigCPtr, OdGeSurface.getCPtr(baseSurface), offsetDistance), false);
181 return ret;
182 }
183
189
194 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
195
196}
197
198}
static global::System.Exception Retrieve()
static global::System.IntPtr OdGeOffsetSurface_set__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, double jarg3)
static global::System.IntPtr OdGeOffsetSurface_mirror(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeOffsetSurface_isEllipCone(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeOffsetSurface_set__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, double jarg3, bool jarg4)
static global::System.IntPtr OdGeOffsetSurface_scaleBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static bool OdGeOffsetSurface_isCylinder(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeOffsetSurface_translateBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeOffsetSurface_isPlane(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGeOffsetSurface_offsetDist(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeOffsetSurface_isTorus(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeOffsetSurface_isBoundedPlane(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeOffsetSurface_scaleBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeOffsetSurface_isEllipCylinder(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeOffsetSurface_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeOffsetSurface_transformBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeOffsetSurface_copy(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdGeOffsetSurface(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeOffsetSurface_rotateBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdGeOffsetSurface_getConstructionSurface(global::System.Runtime.InteropServices.HandleRef jarg1, ref OdGeSurface jarg2)
static bool OdGeOffsetSurface_getSurface(global::System.Runtime.InteropServices.HandleRef jarg1, ref OdGeSurface jarg2)
static bool OdGeOffsetSurface_isSphere(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeOffsetSurface_isCone(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeOffsetSurface_rotateBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static HandleRef getCPtr(OdGeMatrix3d obj)
OdGeOffsetSurface(OdGeOffsetSurface source)
OdGeOffsetSurface(OdGeSurface baseSurface, double offsetDistance, bool makeCopy)
new OdGeOffsetSurface mirror(OdGePlane plane)
new OdGeOffsetSurface rotateBy(double angle, OdGeVector3d vect, OdGePoint3d basePoint)
static HandleRef getCPtr(OdGeOffsetSurface obj)
OdGeOffsetSurface(OdGeSurface baseSurface, double offsetDistance)
new OdGeOffsetSurface translateBy(OdGeVector3d translateVec)
OdGeOffsetSurface Assign(OdGeOffsetSurface surface)
override void Dispose(bool disposing)
new OdGeOffsetSurface scaleBy(double scaleFactor)
new OdGeOffsetSurface copy()
bool getSurface(ref OdGeSurface simpleSurface)
new OdGeOffsetSurface transformBy(OdGeMatrix3d xfm)
new OdGeOffsetSurface scaleBy(double scaleFactor, OdGePoint3d basePoint)
OdGeOffsetSurface(IntPtr cPtr, bool cMemoryOwn)
new OdGeOffsetSurface rotateBy(double angle, OdGeVector3d vect)
Teigha.Core.OdGe.EntityId vb_type()
void getConstructionSurface(ref OdGeSurface baseSurface)
static HandleRef getCPtr(OdGePlane obj)
Definition OdGePlane.cs:25
static HandleRef getCPtr(OdGePoint3d obj)
static HandleRef getCPtr(OdGeSurface obj)
static HandleRef getCPtr(OdGeVector3d obj)