Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGeLineSeg2d.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 OdGeLineSeg2d(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGeLineSeg2d_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGeLineSeg2d 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 OdGeLineSeg2d() : this(GlobalsPINVOKE.new_OdGeLineSeg2d__SWIG_0(), true) {
44 }
45
46 public OdGeLineSeg2d(OdGeLineSeg2d source) : this(GlobalsPINVOKE.new_OdGeLineSeg2d__SWIG_1(OdGeLineSeg2d.getCPtr(source)), true) {
48 }
49
50 public OdGeLineSeg2d(OdGePoint2d point1, OdGePoint2d point2) : this(GlobalsPINVOKE.new_OdGeLineSeg2d__SWIG_2(OdGePoint2d.getCPtr(point1), OdGePoint2d.getCPtr(point2)), true) {
52 }
53
54 public OdGeLineSeg2d(OdGePoint2d point, OdGeVector2d vect) : this(GlobalsPINVOKE.new_OdGeLineSeg2d__SWIG_3(OdGePoint2d.getCPtr(point), OdGeVector2d.getCPtr(vect).Handle), true) {
56 }
57
58 public OdGeLineSeg2d set(OdGePoint2d point, OdGeVector2d vect) {
61 return ret;
62 }
63
64 public OdGeLineSeg2d set(OdGePoint2d point1, OdGePoint2d point2) {
67 return ret;
68 }
69
70 public OdGeLineSeg2d set(OdGeCurve2d curve1, OdGeCurve2d curve2, out double param1, out double param2, out bool success) {
71 OdGeLineSeg2d ret = new OdGeLineSeg2d(GlobalsPINVOKE.OdGeLineSeg2d_set__SWIG_2(swigCPtr, OdGeCurve2d.getCPtr(curve1), OdGeCurve2d.getCPtr(curve2), out param1, out param2, out success), false);
73 return ret;
74 }
75
76 public OdGeLineSeg2d set(OdGeCurve2d curve, OdGePoint2d point, out double param, out bool success) {
77 OdGeLineSeg2d ret = new OdGeLineSeg2d(GlobalsPINVOKE.OdGeLineSeg2d_set__SWIG_3(swigCPtr, OdGeCurve2d.getCPtr(curve), OdGePoint2d.getCPtr(point), out param, out success), false);
79 return ret;
80 }
81
82 public void getBisector(OdGeLine2d line) {
85 }
86
87 public OdGePoint2d baryComb(double blendCoeff) {
88 OdGePoint2d ret = new OdGePoint2d(GlobalsPINVOKE.OdGeLineSeg2d_baryComb(swigCPtr, blendCoeff), true);
90 return ret;
91 }
92
96 return ret;
97 }
98
102 return ret;
103 }
104
108 return ret;
109 }
110
115 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
116
122
123}
124
125}
static global::System.Exception Retrieve()
static global::System.IntPtr OdGeLineSeg2d_set__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, out double jarg4, out bool jarg5)
static global::System.IntPtr OdGeLineSeg2d_startPoint(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeLineSeg2d_set__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeLineSeg2d_set__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3)
static global::System.IntPtr OdGeLineSeg2d_baryComb(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeLineSeg2d_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGeLineSeg2d_getBisector(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeLineSeg2d_endPoint(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdGeLineSeg2d(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeLineSeg2d_set__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, out double jarg4, out double jarg5, out bool jarg6)
static HandleRef getCPtr(OdGeCurve2d obj)
Definition: OdGeCurve2d.cs:25
OdGe.EntityId type()
Definition: OdGeEntity2d.cs:57
static HandleRef getCPtr(OdGeLine2d obj)
Definition: OdGeLine2d.cs:25
static HandleRef getCPtr(OdGeLineSeg2d obj)
Teigha.Core.OdGeVector2d vb_direction()
void getBisector(OdGeLine2d line)
OdGeLineSeg2d(IntPtr cPtr, bool cMemoryOwn)
Teigha.Core.OdGe.EntityId vb_type()
OdGeLineSeg2d(OdGePoint2d point, OdGeVector2d vect)
OdGeLineSeg2d(OdGePoint2d point1, OdGePoint2d point2)
OdGePoint2d baryComb(double blendCoeff)
override void Dispose(bool disposing)
OdGeLineSeg2d(OdGeLineSeg2d source)
OdGeLineSeg2d Assign(OdGeLineSeg2d line)
static HandleRef getCPtr(OdGePoint2d obj)
Definition: OdGePoint2d.cs:26
static HandleRef getCPtr(OdGeVector2d obj)
Definition: OdGeVector2d.cs:26