Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdGeOffsetCurve2d.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 OdGeOffsetCurve2d(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGeOffsetCurve2d_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGeOffsetCurve2d 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 OdGeOffsetCurve2d copy() {
43 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGeOffsetCurve2d_copy(swigCPtr);
44 OdGeOffsetCurve2d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeOffsetCurve2d(cPtr, false);
46 return ret;
47 }
48
54
60
66
72
78
79 public new OdGeOffsetCurve2d scaleBy(double scaleFactor, OdGePoint2d basePoint) {
82 return ret;
83 }
84
85 public new OdGeOffsetCurve2d scaleBy(double scaleFactor) {
88 return ret;
89 }
90
91 public OdGeOffsetCurve2d() : this(GlobalsPINVOKE.new_OdGeOffsetCurve2d__SWIG_0(), true) {
93 }
94
95 public OdGeOffsetCurve2d(OdGeCurve2d baseCurve, double offsetDistance, bool makeCopy) : this(GlobalsPINVOKE.new_OdGeOffsetCurve2d__SWIG_1(OdGeCurve2d.getCPtr(baseCurve), offsetDistance, makeCopy), true) {
97 }
98
99 public OdGeOffsetCurve2d(OdGeCurve2d baseCurve, double offsetDistance) : this(GlobalsPINVOKE.new_OdGeOffsetCurve2d__SWIG_2(OdGeCurve2d.getCPtr(baseCurve), offsetDistance), true) {
101 }
102
103 public OdGeOffsetCurve2d(OdGeOffsetCurve2d source) : this(GlobalsPINVOKE.new_OdGeOffsetCurve2d__SWIG_3(OdGeOffsetCurve2d.getCPtr(source)), true) {
105 }
106
107 public OdGeCurve2d curve() {
108 OdGeCurve2d ret = Teigha.Core.Helpers.odCreateObjectInternal<OdGeCurve2d>(typeof(OdGeCurve2d), GlobalsPINVOKE.OdGeOffsetCurve2d_curve(swigCPtr), false);
109
111 return ret;
112}
113
119
125
131
137
143
149
155
160 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
161
162}
163
164}
static global::System.Exception Retrieve()
static void delete_OdGeOffsetCurve2d(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGeOffsetCurve2d_offsetDistance(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeOffsetCurve2d_setCurve__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static global::System.IntPtr OdGeOffsetCurve2d_setOffsetDistance(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeOffsetCurve2d_transformation(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeOffsetCurve2d_paramDirection(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeOffsetCurve2d_scaleBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeOffsetCurve2d_scaleBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static IntPtr OdGeOffsetCurve2d_curve(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeOffsetCurve2d_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeOffsetCurve2d_transformBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeOffsetCurve2d_setCurve__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, bool jarg3)
static global::System.IntPtr OdGeOffsetCurve2d_rotateBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeOffsetCurve2d_copy(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeOffsetCurve2d_translateBy(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static global::System.IntPtr OdGeOffsetCurve2d_rotateBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeOffsetCurve2d_mirror(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static HandleRef getCPtr(OdGeCurve2d obj)
static HandleRef getCPtr(OdGeLine2d obj)
Definition OdGeLine2d.cs:25
static HandleRef getCPtr(OdGeMatrix2d obj)
OdGeOffsetCurve2d(IntPtr cPtr, bool cMemoryOwn)
OdGeOffsetCurve2d Assign(OdGeOffsetCurve2d offsetCurve)
OdGeOffsetCurve2d setCurve(OdGeCurve2d baseCurve)
new OdGeOffsetCurve2d copy()
Teigha.Core.OdGe.EntityId vb_type()
new OdGeOffsetCurve2d scaleBy(double scaleFactor)
OdGeOffsetCurve2d(OdGeCurve2d baseCurve, double offsetDistance)
new OdGeOffsetCurve2d rotateBy(double angle)
override void Dispose(bool disposing)
OdGeOffsetCurve2d setCurve(OdGeCurve2d baseCurve, bool makeCopy)
new OdGeOffsetCurve2d rotateBy(double angle, OdGePoint2d basePoint)
new OdGeOffsetCurve2d mirror(OdGeLine2d line)
OdGeOffsetCurve2d(OdGeCurve2d baseCurve, double offsetDistance, bool makeCopy)
new OdGeOffsetCurve2d translateBy(OdGeVector2d translateVec)
static HandleRef getCPtr(OdGeOffsetCurve2d obj)
OdGeOffsetCurve2d setOffsetDistance(double distance)
OdGeOffsetCurve2d(OdGeOffsetCurve2d source)
new OdGeOffsetCurve2d transformBy(OdGeMatrix2d xfm)
new OdGeOffsetCurve2d scaleBy(double scaleFactor, OdGePoint2d basePoint)
static HandleRef getCPtr(OdGePoint2d obj)
static HandleRef getCPtr(OdGeVector2d obj)