Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdGeSegmentChain2d.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 OdGeSegmentChain2d(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGeSegmentChain2d_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGeSegmentChain2d 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 OdGeSegmentChain2d copy() {
43 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGeSegmentChain2d_copy(swigCPtr);
44 OdGeSegmentChain2d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeSegmentChain2d(cPtr, false);
46 return ret;
47 }
48
54
60
66
72
78
79 public new OdGeSegmentChain2d scaleBy(double scaleFactor, OdGePoint2d basePoint) {
82 return ret;
83 }
84
90
91 public OdGeSegmentChain2d() : this(GlobalsPINVOKE.new_OdGeSegmentChain2d__SWIG_0(), true) {
93 }
94
98
99 public OdGeSegmentChain2d(OdGePoint2dArray fitpoints) : this(GlobalsPINVOKE.new_OdGeSegmentChain2d__SWIG_2(OdGePoint2dArray.getCPtr(fitpoints).Handle), true) {
101 }
102
106
107 public OdGeSegmentChain2d(OdGeCurve2d crv, double approxEps) : this(GlobalsPINVOKE.new_OdGeSegmentChain2d__SWIG_4(OdGeCurve2d.getCPtr(crv), approxEps), true) {
109 }
110
116
122
130
138
146
154
155 public bool hasBulges() {
156 bool ret = GlobalsPINVOKE.OdGeSegmentChain2d_hasBulges(swigCPtr);
158 return ret;
159 }
160
161 public void appendSamplePointsOptimal(int numSampleForEachArc, OdGePoint2dArray pointArray) {
162 GlobalsPINVOKE.OdGeSegmentChain2d_appendSamplePointsOptimal(swigCPtr, numSampleForEachArc, OdGePoint2dArray.getCPtr(pointArray).Handle);
164 }
165
170 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
171
176 public int vb_order() { return this.order(); }
177
178}
179
180}
static global::System.Exception Retrieve()
static global::System.IntPtr OdGeSegmentChain2d_rotateBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeSegmentChain2d_rotateBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeSegmentChain2d_mirror(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeSegmentChain2d_setClosed(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static global::System.IntPtr OdGeSegmentChain2d_translateBy(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static global::System.IntPtr OdGeSegmentChain2d_transformBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeSegmentChain2d_scaleBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeSegmentChain2d_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdGeSegmentChain2d_getVertices(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeSegmentChain2d_scaleBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeSegmentChain2d_getBulges(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeSegmentChain2d_hasBulges(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGeSegmentChain2d_appendSamplePointsOptimal(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, IntPtr jarg3)
static void delete_OdGeSegmentChain2d(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeSegmentChain2d_bulges(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeSegmentChain2d_copy(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdGeSegmentChain2d_vertices(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdGeLine2d obj)
Definition OdGeLine2d.cs:25
static HandleRef getCPtr(OdGeMatrix2d obj)
static HandleRef getCPtr(OdGePoint2dArray obj)
static HandleRef getCPtr(OdGePoint2d obj)
new OdGeSegmentChain2d scaleBy(double scaleFactor, OdGePoint2d basePoint)
new OdGeSegmentChain2d scaleBy(double scaleFactor)
void appendSamplePointsOptimal(int numSampleForEachArc, OdGePoint2dArray pointArray)
OdGeSegmentChain2d(OdGeKnotVector knots, OdGePoint2dArray points)
override void Dispose(bool disposing)
Teigha.Core.OdGe.EntityId vb_type()
OdGeSegmentChain2d(OdGeCurve2d crv, double approxEps)
OdGeSegmentChain2d Assign(OdGeSegmentChain2d pline)
OdGeSegmentChain2d(OdGePoint2dArray fitpoints)
new OdGeSegmentChain2d rotateBy(double angle)
static HandleRef getCPtr(OdGeSegmentChain2d obj)
OdGeSegmentChain2d setClosed(bool flag)
new OdGeSegmentChain2d mirror(OdGeLine2d line)
new OdGeSegmentChain2d rotateBy(double angle, OdGePoint2d basePoint)
new OdGeSegmentChain2d transformBy(OdGeMatrix2d xfm)
OdGeSegmentChain2d(OdGeSegmentChain2d source)
OdGeSegmentChain2d(IntPtr cPtr, bool cMemoryOwn)
new OdGeSegmentChain2d translateBy(OdGeVector2d translateVec)
new OdGeSegmentChain2d copy()
static HandleRef getCPtr(OdGeVector2d obj)