Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGeExternalCurve2d.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 OdGeExternalCurve2d(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGeExternalCurve2d_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGeExternalCurve2d 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 OdGeExternalCurve2d() : this(GlobalsPINVOKE.new_OdGeExternalCurve2d__SWIG_0(), true) {
44 }
45
46 public OdGeExternalCurve2d(OdGeExternalCurve2d source) : this(GlobalsPINVOKE.new_OdGeExternalCurve2d__SWIG_1(OdGeExternalCurve2d.getCPtr(source)), true) {
48 }
49
50 public OdGeExternalCurve2d(IntPtr /*SIMPLETYPE*/ pCurveDef, OdGe.ExternalEntityKind curveKind, bool makeCopy) : this(GlobalsPINVOKE.new_OdGeExternalCurve2d__SWIG_2(pCurveDef /*SIMPLETYPE*/, (int)curveKind, makeCopy), true) {
52 }
53
54 public OdGeExternalCurve2d(IntPtr /*SIMPLETYPE*/ pCurveDef, OdGe.ExternalEntityKind curveKind) : this(GlobalsPINVOKE.new_OdGeExternalCurve2d__SWIG_3(pCurveDef /*SIMPLETYPE*/, (int)curveKind), true) {
56 }
57
58 public bool isNurbCurve() {
61 return ret;
62 }
63
64 public bool isNurbCurve(OdGeNurbCurve2d nurbCurve) {
67 return ret;
68 }
69
70 public bool isDefined() {
73 return ret;
74 }
75
76 public void getExternalCurve(out IntPtr /*SIMPLETYPE*/ pCurveDef) {
79 }
80
84 return ret;
85 }
86
87 public OdGeExternalCurve2d set(IntPtr /*SIMPLETYPE*/ pCurveDef, OdGe.ExternalEntityKind curveKind, bool makeCopy) {
88 OdGeExternalCurve2d ret = new OdGeExternalCurve2d(GlobalsPINVOKE.OdGeExternalCurve2d_set__SWIG_0(swigCPtr, pCurveDef /*SIMPLETYPE*/, (int)curveKind, makeCopy), false);
90 return ret;
91 }
92
93 public OdGeExternalCurve2d set(IntPtr /*SIMPLETYPE*/ pCurveDef, OdGe.ExternalEntityKind curveKind) {
94 OdGeExternalCurve2d ret = new OdGeExternalCurve2d(GlobalsPINVOKE.OdGeExternalCurve2d_set__SWIG_1(swigCPtr, pCurveDef /*SIMPLETYPE*/, (int)curveKind), false);
96 return ret;
97 }
98
99 public bool isOwnerOfCurve() {
102 return ret;
103 }
104
108 return ret;
109 }
110
114 return ret;
115 }
116
121 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
122
123}
124
125}
static global::System.Exception Retrieve()
static bool OdGeExternalCurve2d_isNurbCurve__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeExternalCurve2d_isDefined(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeExternalCurve2d_set__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, int jarg3)
static bool OdGeExternalCurve2d_isNurbCurve__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeExternalCurve2d_set__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, int jarg3, bool jarg4)
static global::System.IntPtr OdGeExternalCurve2d_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGeExternalCurve2d_getExternalCurve(global::System.Runtime.InteropServices.HandleRef jarg1, out IntPtr jarg2)
static int OdGeExternalCurve2d_externalCurveKind(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdGeExternalCurve2d(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeExternalCurve2d_setToOwnCurve(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeExternalCurve2d_isOwnerOfCurve(global::System.Runtime.InteropServices.HandleRef jarg1)
OdGe.EntityId type()
Definition: OdGeEntity2d.cs:57
OdGeExternalCurve2d(IntPtr pCurveDef, OdGe.ExternalEntityKind curveKind, bool makeCopy)
OdGe.ExternalEntityKind externalCurveKind()
OdGeExternalCurve2d Assign(OdGeExternalCurve2d extCurve)
OdGeExternalCurve2d(OdGeExternalCurve2d source)
bool isNurbCurve(OdGeNurbCurve2d nurbCurve)
OdGeExternalCurve2d(IntPtr pCurveDef, OdGe.ExternalEntityKind curveKind)
Teigha.Core.OdGe.EntityId vb_type()
override void Dispose(bool disposing)
OdGeExternalCurve2d(IntPtr cPtr, bool cMemoryOwn)
void getExternalCurve(out IntPtr pCurveDef)
static HandleRef getCPtr(OdGeExternalCurve2d obj)
static HandleRef getCPtr(OdGeNurbCurve2d obj)