Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGeCompositeCurve2d.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 OdGeCompositeCurve2d(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGeCompositeCurve2d_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGeCompositeCurve2d 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 OdGeCompositeCurve2d() : this(GlobalsPINVOKE.new_OdGeCompositeCurve2d__SWIG_0(), true) {
44 }
45
46 public OdGeCompositeCurve2d(OdGeCompositeCurve2d source) : this(GlobalsPINVOKE.new_OdGeCompositeCurve2d__SWIG_1(OdGeCompositeCurve2d.getCPtr(source)), true) {
48 }
49
50 public OdGeCompositeCurve2d(OdGeCurve2dPtrArray curveList) : this(GlobalsPINVOKE.new_OdGeCompositeCurve2d__SWIG_2(OdGeCurve2dPtrArray.getCPtr(curveList)), true) {
52 }
53
54 public void getCurveList(OdGeCurve2dPtrArray curveList) {
57 }
58
60// csout array
62
64 return res;
65}
66
70 return ret;
71 }
72
73 public double globalToLocalParam(double param, out int crvNum) {
74 double ret = GlobalsPINVOKE.OdGeCompositeCurve2d_globalToLocalParam(swigCPtr, param, out crvNum);
76 return ret;
77 }
78
79 public double localToGlobalParam(double param, int crvNum) {
80 double ret = GlobalsPINVOKE.OdGeCompositeCurve2d_localToGlobalParam(swigCPtr, param, crvNum);
82 return ret;
83 }
84
88 return ret;
89 }
90
95 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
96
97}
98
99}
static global::System.Exception Retrieve()
static global::System.IntPtr OdGeCompositeCurve2d_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static double OdGeCompositeCurve2d_globalToLocalParam(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, out int jarg3)
static global::System.IntPtr OdGeCompositeCurve2d_getCurveList__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeCompositeCurve2d_setCurveList(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGeCompositeCurve2d_getCurveList__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static double OdGeCompositeCurve2d_localToGlobalParam(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3)
static void delete_OdGeCompositeCurve2d(global::System.Runtime.InteropServices.HandleRef jarg1)
OdGeCompositeCurve2d(OdGeCompositeCurve2d source)
OdGeCompositeCurve2d(IntPtr cPtr, bool cMemoryOwn)
OdGeCompositeCurve2d setCurveList(OdGeCurve2dPtrArray curveList)
static HandleRef getCPtr(OdGeCompositeCurve2d obj)
override void Dispose(bool disposing)
OdGeCompositeCurve2d(OdGeCurve2dPtrArray curveList)
double localToGlobalParam(double param, int crvNum)
double globalToLocalParam(double param, out int crvNum)
Teigha.Core.OdGe.EntityId vb_type()
void getCurveList(OdGeCurve2dPtrArray curveList)
OdGeCompositeCurve2d Assign(OdGeCompositeCurve2d compCurve)
static HandleRef getCPtr(OdGeCurve2dPtrArray obj)
OdGe.EntityId type()
Definition: OdGeEntity2d.cs:57