Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdGeLine3d.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 OdGeLine3d(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGeLine3d_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGeLine3d 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 OdGeLine3d copy() {
43 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGeLine3d_copy(swigCPtr);
44 OdGeLine3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeLine3d(cPtr, false);
46 return ret;
47 }
48
54
60
61 public new OdGeLine3d rotateBy(double angle, OdGeVector3d vect, OdGePoint3d basePoint) {
62 OdGeLine3d ret = new OdGeLine3d(GlobalsPINVOKE.OdGeLine3d_rotateBy__SWIG_0(swigCPtr, angle, OdGeVector3d.getCPtr(vect), OdGePoint3d.getCPtr(basePoint)), false);
64 return ret;
65 }
66
67 public new OdGeLine3d rotateBy(double angle, OdGeVector3d vect) {
70 return ret;
71 }
72
78
79 public new OdGeLine3d scaleBy(double scaleFactor, OdGePoint3d basePoint) {
80 OdGeLine3d ret = new OdGeLine3d(GlobalsPINVOKE.OdGeLine3d_scaleBy__SWIG_0(swigCPtr, scaleFactor, OdGePoint3d.getCPtr(basePoint)), false);
82 return ret;
83 }
84
85 public new OdGeLine3d scaleBy(double scaleFactor) {
86 OdGeLine3d ret = new OdGeLine3d(GlobalsPINVOKE.OdGeLine3d_scaleBy__SWIG_1(swigCPtr, scaleFactor), false);
88 return ret;
89 }
90
91 public OdGeLine3d() : this(GlobalsPINVOKE.new_OdGeLine3d__SWIG_0(), true) {
93 }
94
95 public OdGeLine3d(OdGeLine3d source) : this(GlobalsPINVOKE.new_OdGeLine3d__SWIG_1(OdGeLine3d.getCPtr(source)), true) {
97 }
98
102
103 public OdGeLine3d(OdGePoint3d point1, OdGePoint3d point2) : this(GlobalsPINVOKE.new_OdGeLine3d__SWIG_3(OdGePoint3d.getCPtr(point1), OdGePoint3d.getCPtr(point2)), true) {
105 }
106
107 public static OdGeLine3d kXAxis {
108 get {
109 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGeLine3d_kXAxis_get();
110 OdGeLine3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeLine3d(cPtr, false);
112 return ret;
113 }
114 }
115
116 public static OdGeLine3d kYAxis {
117 get {
118 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGeLine3d_kYAxis_get();
119 OdGeLine3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeLine3d(cPtr, false);
121 return ret;
122 }
123 }
124
125 public static OdGeLine3d kZAxis {
126 get {
127 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGeLine3d_kZAxis_get();
128 OdGeLine3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeLine3d(cPtr, false);
130 return ret;
131 }
132 }
133
139
145
151
156 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
157
163
164}
165
166}
static global::System.Exception Retrieve()
static global::System.IntPtr OdGeLine3d_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 OdGeLine3d_kZAxis_get()
static global::System.IntPtr OdGeLine3d_transformBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeLine3d_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeLine3d_kXAxis_get()
static global::System.IntPtr OdGeLine3d_kYAxis_get()
static global::System.IntPtr OdGeLine3d_mirror(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeLine3d_translateBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeLine3d_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 OdGeLine3d_scaleBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeLine3d_scaleBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void delete_OdGeLine3d(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeLine3d_rotateBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeLine3d_copy(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeLine3d_set__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static HandleRef getCPtr(OdGeLine3d obj)
Definition OdGeLine3d.cs:25
override void Dispose(bool disposing)
Definition OdGeLine3d.cs:29
OdGeLine3d(OdGePoint3d point, OdGeVector3d vect)
Definition OdGeLine3d.cs:99
Teigha.Core.OdGeVector3d vb_direction()
static OdGeLine3d kXAxis
new OdGeLine3d scaleBy(double scaleFactor)
Definition OdGeLine3d.cs:85
OdGeLine3d(OdGeLine3d source)
Definition OdGeLine3d.cs:95
new OdGeLine3d transformBy(OdGeMatrix3d xfm)
Definition OdGeLine3d.cs:49
new OdGeLine3d copy()
Definition OdGeLine3d.cs:42
new OdGeLine3d rotateBy(double angle, OdGeVector3d vect, OdGePoint3d basePoint)
Definition OdGeLine3d.cs:61
new OdGeLine3d scaleBy(double scaleFactor, OdGePoint3d basePoint)
Definition OdGeLine3d.cs:79
new OdGeLine3d rotateBy(double angle, OdGeVector3d vect)
Definition OdGeLine3d.cs:67
OdGeLine3d(OdGePoint3d point1, OdGePoint3d point2)
Teigha.Core.OdGe.EntityId vb_type()
OdGeLine3d Assign(OdGeLine3d line)
static OdGeLine3d kYAxis
new OdGeLine3d translateBy(OdGeVector3d translateVec)
Definition OdGeLine3d.cs:55
OdGeLine3d(IntPtr cPtr, bool cMemoryOwn)
Definition OdGeLine3d.cs:20
new OdGeLine3d mirror(OdGePlane plane)
Definition OdGeLine3d.cs:73
static OdGeLine3d kZAxis
static HandleRef getCPtr(OdGeMatrix3d obj)
static HandleRef getCPtr(OdGePlane obj)
Definition OdGePlane.cs:25
static HandleRef getCPtr(OdGePoint3d obj)
static HandleRef getCPtr(OdGeVector3d obj)