Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdGeExternalCurve3d.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 OdGeExternalCurve3d(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGeExternalCurve3d_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGeExternalCurve3d 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
43 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGeExternalCurve3d_copy(swigCPtr);
44 OdGeExternalCurve3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeExternalCurve3d(cPtr, false);
46 return ret;
47 }
48
54
60
66
72
78
79 public new OdGeExternalCurve3d scaleBy(double scaleFactor, OdGePoint3d basePoint) {
82 return ret;
83 }
84
90
91 public OdGeExternalCurve3d() : this(GlobalsPINVOKE.new_OdGeExternalCurve3d__SWIG_0(), true) {
93 }
94
98
99 public OdGeExternalCurve3d(IntPtr pCurveDef, OdGe.ExternalEntityKind curveKind, bool makeCopy) : this(GlobalsPINVOKE.new_OdGeExternalCurve3d__SWIG_2(pCurveDef /*SIMPLETYPE*/, (int)curveKind, makeCopy), true) {
101 }
102
103 public OdGeExternalCurve3d(IntPtr pCurveDef, OdGe.ExternalEntityKind curveKind) : this(GlobalsPINVOKE.new_OdGeExternalCurve3d__SWIG_3(pCurveDef /*SIMPLETYPE*/, (int)curveKind), true) {
105 }
106
107 public bool isLine() {
108 bool ret = GlobalsPINVOKE.OdGeExternalCurve3d_isLine(swigCPtr);
110 return ret;
111 }
112
113 public bool isRay() {
114 bool ret = GlobalsPINVOKE.OdGeExternalCurve3d_isRay(swigCPtr);
116 return ret;
117 }
118
124
130
136
142
148
149 public bool isNativeCurve(out OdGeCurve3d nativeCurve) {
150IntPtr p_nativeCurve = IntPtr.Zero; /*OUT_PARAM_OBJ PRE*/
151 try {
152 bool ret = GlobalsPINVOKE.OdGeExternalCurve3d_isNativeCurve(swigCPtr, out p_nativeCurve);
154 return ret;
155 } finally {
156MemoryTransaction mTrans_nativeCurve = MemoryManager.GetMemoryManager().GetCurrentTransaction();
157 if(mTrans_nativeCurve != null)
158 mTrans_nativeCurve.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve3d>(typeof(OdGeCurve3d), p_nativeCurve, true));
159 nativeCurve = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve3d>(typeof(OdGeCurve3d), p_nativeCurve, mTrans_nativeCurve == null);
160 /*OUT_PARAM_OBJ POST*/
161 }
162 }
163
168
174
175 public OdGeExternalCurve3d set(IntPtr pCurveDef, OdGe.ExternalEntityKind curveKind, bool makeCopy) {
176 OdGeExternalCurve3d ret = new OdGeExternalCurve3d(GlobalsPINVOKE.OdGeExternalCurve3d_set__SWIG_0(swigCPtr, pCurveDef /*SIMPLETYPE*/, (int)curveKind, makeCopy), false);
178 return ret;
179 }
180
181 public OdGeExternalCurve3d set(IntPtr pCurveDef, OdGe.ExternalEntityKind curveKind) {
182 OdGeExternalCurve3d ret = new OdGeExternalCurve3d(GlobalsPINVOKE.OdGeExternalCurve3d_set__SWIG_1(swigCPtr, pCurveDef /*SIMPLETYPE*/, (int)curveKind), false);
184 return ret;
185 }
186
192
198
204
209 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
210
211}
212
213}
static global::System.Exception Retrieve()
static global::System.IntPtr OdGeExternalCurve3d_set__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, int jarg3)
static global::System.IntPtr OdGeExternalCurve3d_mirror(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeExternalCurve3d_isRay(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeExternalCurve3d_translateBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeExternalCurve3d_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 OdGeExternalCurve3d_isOwnerOfCurve(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeExternalCurve3d_isCircArc(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeExternalCurve3d_copy(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeExternalCurve3d_isNurbCurve(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdGeExternalCurve3d(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeExternalCurve3d_scaleBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeExternalCurve3d_transformBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeExternalCurve3d_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeExternalCurve3d_setToOwnCurve(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeExternalCurve3d_isNativeCurve(global::System.Runtime.InteropServices.HandleRef jarg1, out IntPtr jarg2)
static bool OdGeExternalCurve3d_isLine(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeExternalCurve3d_isEllipArc(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeExternalCurve3d_rotateBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeExternalCurve3d_isLineSeg(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeExternalCurve3d_scaleBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeExternalCurve3d_isDefined(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdGeExternalCurve3d_externalCurveKind(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGeExternalCurve3d_getExternalCurve(global::System.Runtime.InteropServices.HandleRef jarg1, out IntPtr jarg2)
static global::System.IntPtr OdGeExternalCurve3d_set__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, int jarg3, bool jarg4)
new OdGeExternalCurve3d transformBy(OdGeMatrix3d xfm)
new OdGeExternalCurve3d mirror(OdGePlane plane)
OdGeExternalCurve3d(IntPtr cPtr, bool cMemoryOwn)
OdGeExternalCurve3d(OdGeExternalCurve3d source)
OdGeExternalCurve3d Assign(OdGeExternalCurve3d extCurve)
new OdGeExternalCurve3d scaleBy(double scaleFactor, OdGePoint3d basePoint)
override void Dispose(bool disposing)
new OdGeExternalCurve3d copy()
Teigha.Core.OdGe.EntityId vb_type()
new OdGeExternalCurve3d scaleBy(double scaleFactor)
OdGeExternalCurve3d(IntPtr pCurveDef, OdGe.ExternalEntityKind curveKind, bool makeCopy)
OdGe.ExternalEntityKind externalCurveKind()
new OdGeExternalCurve3d rotateBy(double angle, OdGeVector3d vect, OdGePoint3d basePoint)
new OdGeExternalCurve3d rotateBy(double angle, OdGeVector3d vect)
OdGeExternalCurve3d(IntPtr pCurveDef, OdGe.ExternalEntityKind curveKind)
static HandleRef getCPtr(OdGeExternalCurve3d obj)
new OdGeExternalCurve3d translateBy(OdGeVector3d translateVec)
void getExternalCurve(out IntPtr pCurveDef)
bool isNativeCurve(out OdGeCurve3d nativeCurve)
static HandleRef getCPtr(OdGeMatrix3d obj)
static HandleRef getCPtr(OdGePlane obj)
Definition OdGePlane.cs:25
static HandleRef getCPtr(OdGePoint3d obj)
static HandleRef getCPtr(OdGeVector3d obj)