Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdGeLineSeg3d.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 OdGeLineSeg3d(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGeLineSeg3d_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGeLineSeg3d 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 OdGeLineSeg3d copy() {
43 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGeLineSeg3d_copy(swigCPtr);
44 OdGeLineSeg3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeLineSeg3d(cPtr, false);
46 return ret;
47 }
48
54
60
61 public new OdGeLineSeg3d rotateBy(double angle, OdGeVector3d vect, OdGePoint3d basePoint) {
64 return ret;
65 }
66
72
78
79 public new OdGeLineSeg3d scaleBy(double scaleFactor, OdGePoint3d basePoint) {
80 OdGeLineSeg3d ret = new OdGeLineSeg3d(GlobalsPINVOKE.OdGeLineSeg3d_scaleBy__SWIG_0(swigCPtr, scaleFactor, OdGePoint3d.getCPtr(basePoint)), false);
82 return ret;
83 }
84
85 public new OdGeLineSeg3d scaleBy(double scaleFactor) {
86 OdGeLineSeg3d ret = new OdGeLineSeg3d(GlobalsPINVOKE.OdGeLineSeg3d_scaleBy__SWIG_1(swigCPtr, scaleFactor), false);
88 return ret;
89 }
90
91 public OdGeLineSeg3d() : this(GlobalsPINVOKE.new_OdGeLineSeg3d__SWIG_0(), true) {
93 }
94
95 public OdGeLineSeg3d(OdGeLineSeg3d source) : this(GlobalsPINVOKE.new_OdGeLineSeg3d__SWIG_1(OdGeLineSeg3d.getCPtr(source)), true) {
97 }
98
99 public OdGeLineSeg3d(OdGePoint3d point, OdGeVector3d vect) : this(GlobalsPINVOKE.new_OdGeLineSeg3d__SWIG_2(OdGePoint3d.getCPtr(point), OdGeVector3d.getCPtr(vect)), true) {
101 }
102
103 public OdGeLineSeg3d(OdGePoint3d point1, OdGePoint3d point2) : this(GlobalsPINVOKE.new_OdGeLineSeg3d__SWIG_3(OdGePoint3d.getCPtr(point1), OdGePoint3d.getCPtr(point2)), true) {
105 }
106
111
112 public OdGePoint3d baryComb(double blendCoeff) {
113 OdGePoint3d ret = new OdGePoint3d(GlobalsPINVOKE.OdGeLineSeg3d_baryComb(swigCPtr, blendCoeff), true);
115 return ret;
116 }
117
123
129
135
141
142 public OdGeLineSeg3d set(OdGeCurve3d curve1, OdGeCurve3d curve2, out double param1, out double param2, out bool success) {
143 OdGeLineSeg3d ret = new OdGeLineSeg3d(GlobalsPINVOKE.OdGeLineSeg3d_set__SWIG_2(swigCPtr, OdGeCurve3d.getCPtr(curve1), OdGeCurve3d.getCPtr(curve2), out param1, out param2, out success), false);
145 return ret;
146 }
147
148 public OdGeLineSeg3d set(OdGeCurve3d curve, OdGePoint3d point, out double param, out bool success) {
149 OdGeLineSeg3d ret = new OdGeLineSeg3d(GlobalsPINVOKE.OdGeLineSeg3d_set__SWIG_3(swigCPtr, OdGeCurve3d.getCPtr(curve), OdGePoint3d.getCPtr(point), out param, out success), false);
151 return ret;
152 }
153
159
165
171
177
183
188 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
189
195
196}
197
198}
static global::System.Exception Retrieve()
static global::System.IntPtr OdGeLineSeg3d_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 OdGeLineSeg3d_set__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeLineSeg3d_copy(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdGeLineSeg3d(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeLineSeg3d_set__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, out double jarg4, out double jarg5, out bool jarg6)
static global::System.IntPtr OdGeLineSeg3d_rotateBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeLineSeg3d_startPoint(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeLineSeg3d_baryComb(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdGeLineSeg3d_getBisector(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static double OdGeLineSeg3d_getDistanceToVector__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeLineSeg3d_joinWith__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeLineSeg3d_scaleBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeLineSeg3d_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 OdGeLineSeg3d_translateBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeLineSeg3d_mirror(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeLineSeg3d_joinWith__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeLineSeg3d_rotateBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static global::System.IntPtr OdGeLineSeg3d_scaleBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeLineSeg3d_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeLineSeg3d_endPoint(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeLineSeg3d_transformBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static double OdGeLineSeg3d_getDistanceToVector__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static HandleRef getCPtr(OdGeCurve3d obj)
OdGeLineSeg3d(OdGePoint3d point, OdGeVector3d vect)
OdGeLineSeg3d(IntPtr cPtr, bool cMemoryOwn)
OdGeLineSeg3d(OdGeLineSeg3d source)
override void Dispose(bool disposing)
static HandleRef getCPtr(OdGeLineSeg3d obj)
OdGeLineSeg3d joinWith(OdGeLineSeg3d curve)
OdGePoint3d baryComb(double blendCoeff)
new OdGeLineSeg3d rotateBy(double angle, OdGeVector3d vect, OdGePoint3d basePoint)
new OdGeLineSeg3d scaleBy(double scaleFactor, OdGePoint3d basePoint)
double getDistanceToVector(OdGePoint3d point)
new OdGeLineSeg3d transformBy(OdGeMatrix3d xfm)
new OdGeLineSeg3d copy()
OdGeLineSeg3d Assign(OdGeLineSeg3d line)
Teigha.Core.OdGe.EntityId vb_type()
new OdGeLineSeg3d translateBy(OdGeVector3d translateVec)
OdGeLineSeg3d(OdGePoint3d point1, OdGePoint3d point2)
OdGeLineSeg3d joinWith(OdGeLineSeg3d curve, OdGeTol iTolerance)
new OdGeLineSeg3d rotateBy(double angle, OdGeVector3d vect)
void getBisector(OdGePlane plane)
new OdGeLineSeg3d mirror(OdGePlane plane)
new OdGeLineSeg3d scaleBy(double scaleFactor)
Teigha.Core.OdGeVector3d vb_direction()
double getDistanceToVector(OdGePoint3d point, OdGeTol tol)
static HandleRef getCPtr(OdGeMatrix3d obj)
static HandleRef getCPtr(OdGePlane obj)
Definition OdGePlane.cs:25
static HandleRef getCPtr(OdGePoint3d obj)
static HandleRef getCPtr(OdGeTol obj)
Definition OdGeTol.cs:26
static HandleRef getCPtr(OdGeVector3d obj)