Extended .NET SDK Documentation 2024 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 OdGeLine3d() : this(GlobalsPINVOKE.new_OdGeLine3d__SWIG_0(), true) {
44 }
45
46 public OdGeLine3d(OdGeLine3d source) : this(GlobalsPINVOKE.new_OdGeLine3d__SWIG_1(OdGeLine3d.getCPtr(source)), true) {
48 }
49
50 public OdGeLine3d(OdGePoint3d point, OdGeVector3d vect) : this(GlobalsPINVOKE.new_OdGeLine3d__SWIG_2(OdGePoint3d.getCPtr(point), OdGeVector3d.getCPtr(vect)), true) {
52 }
53
54 public OdGeLine3d(OdGePoint3d point1, OdGePoint3d point2) : this(GlobalsPINVOKE.new_OdGeLine3d__SWIG_3(OdGePoint3d.getCPtr(point1), OdGePoint3d.getCPtr(point2)), true) {
56 }
57
58 public static OdGeLine3d kXAxis {
59 get {
60 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGeLine3d_kXAxis_get();
61 OdGeLine3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeLine3d(cPtr, false);
63 return ret;
64 }
65 }
66
67 public static OdGeLine3d kYAxis {
68 get {
69 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGeLine3d_kYAxis_get();
70 OdGeLine3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeLine3d(cPtr, false);
72 return ret;
73 }
74 }
75
76 public static OdGeLine3d kZAxis {
77 get {
78 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGeLine3d_kZAxis_get();
79 OdGeLine3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeLine3d(cPtr, false);
81 return ret;
82 }
83 }
84
85 public OdGeLine3d set(OdGePoint3d point, OdGeVector3d vect) {
88 return ret;
89 }
90
91 public OdGeLine3d set(OdGePoint3d point1, OdGePoint3d point2) {
94 return ret;
95 }
96
100 return ret;
101 }
102
107 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
108
114
115}
116
117}
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_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 void delete_OdGeLine3d(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)
OdGe.EntityId type()
Definition: OdGeEntity3d.cs:57
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:50
Teigha.Core.OdGeVector3d vb_direction()
Definition: OdGeLine3d.cs:113
static OdGeLine3d kXAxis
Definition: OdGeLine3d.cs:58
OdGeLine3d(OdGeLine3d source)
Definition: OdGeLine3d.cs:46
OdGeLine3d(OdGePoint3d point1, OdGePoint3d point2)
Definition: OdGeLine3d.cs:54
Teigha.Core.OdGe.EntityId vb_type()
Definition: OdGeLine3d.cs:107
OdGeLine3d Assign(OdGeLine3d line)
Definition: OdGeLine3d.cs:97
static OdGeLine3d kYAxis
Definition: OdGeLine3d.cs:67
OdGeLine3d(IntPtr cPtr, bool cMemoryOwn)
Definition: OdGeLine3d.cs:20
static OdGeLine3d kZAxis
Definition: OdGeLine3d.cs:76
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
static HandleRef getCPtr(OdGeVector3d obj)
Definition: OdGeVector3d.cs:26