Extended .NET SDK Documentation 2025 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
43 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGeCompositeCurve2d_copy(swigCPtr);
44 OdGeCompositeCurve2d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeCompositeCurve2d(cPtr, false);
46 return ret;
47 }
48
54
60
66
72
78
84
90
91 public OdGeCompositeCurve2d() : this(GlobalsPINVOKE.new_OdGeCompositeCurve2d__SWIG_0(), true) {
93 }
94
98
99 public OdGeCompositeCurve2d(OdGeCurve2dPtrArray curveList) : this(GlobalsPINVOKE.new_OdGeCompositeCurve2d__SWIG_2(OdGeCurve2dPtrArray.getCPtr(curveList)), true) {
101 }
102
107
115
121
122 public double globalToLocalParam(double param, out int crvNum) {
123 double ret = GlobalsPINVOKE.OdGeCompositeCurve2d_globalToLocalParam(swigCPtr, param, out crvNum);
125 return ret;
126 }
127
128 public double localToGlobalParam(double param, int crvNum) {
129 double ret = GlobalsPINVOKE.OdGeCompositeCurve2d_localToGlobalParam(swigCPtr, param, crvNum);
131 return ret;
132 }
133
139
144 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
145
146}
147
148}
static global::System.Exception Retrieve()
static global::System.IntPtr OdGeCompositeCurve2d_rotateBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeCompositeCurve2d_transformBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeCompositeCurve2d_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeCompositeCurve2d_scaleBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static double OdGeCompositeCurve2d_globalToLocalParam(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, out int jarg3)
static global::System.IntPtr OdGeCompositeCurve2d_scaleBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeCompositeCurve2d_getCurveList__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeCompositeCurve2d_translateBy(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static global::System.IntPtr OdGeCompositeCurve2d_setCurveList(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeCompositeCurve2d_rotateBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeCompositeCurve2d_mirror(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeCompositeCurve2d_copy(global::System.Runtime.InteropServices.HandleRef jarg1)
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)
new OdGeCompositeCurve2d translateBy(OdGeVector2d translateVec)
new OdGeCompositeCurve2d scaleBy(double scaleFactor)
new OdGeCompositeCurve2d rotateBy(double angle, OdGePoint2d basePoint)
new OdGeCompositeCurve2d transformBy(OdGeMatrix2d xfm)
new OdGeCompositeCurve2d rotateBy(double angle)
override void Dispose(bool disposing)
new OdGeCompositeCurve2d copy()
OdGeCompositeCurve2d(OdGeCurve2dPtrArray curveList)
double localToGlobalParam(double param, int crvNum)
new OdGeCompositeCurve2d mirror(OdGeLine2d line)
double globalToLocalParam(double param, out int crvNum)
new OdGeCompositeCurve2d scaleBy(double scaleFactor, OdGePoint2d basePoint)
Teigha.Core.OdGe.EntityId vb_type()
void getCurveList(OdGeCurve2dPtrArray curveList)
OdGeCompositeCurve2d Assign(OdGeCompositeCurve2d compCurve)
static HandleRef getCPtr(OdGeCurve2dPtrArray obj)
static HandleRef getCPtr(OdGeLine2d obj)
Definition OdGeLine2d.cs:25
static HandleRef getCPtr(OdGeMatrix2d obj)
static HandleRef getCPtr(OdGePoint2d obj)
static HandleRef getCPtr(OdGeVector2d obj)