Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdGeRay3d.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
16public class OdGeRay3d : OdGeLinearEnt3d {
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
20 public OdGeRay3d(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGeRay3d_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGeRay3d 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 OdGeRay3d copy() {
43 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGeRay3d_copy(swigCPtr);
44 OdGeRay3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeRay3d(cPtr, false);
46 return ret;
47 }
48
54
55 public new OdGeRay3d translateBy(OdGeVector3d translateVec) {
56 OdGeRay3d ret = new OdGeRay3d(GlobalsPINVOKE.OdGeRay3d_translateBy(swigCPtr, OdGeVector3d.getCPtr(translateVec)), false);
58 return ret;
59 }
60
61 public new OdGeRay3d rotateBy(double angle, OdGeVector3d vect, OdGePoint3d basePoint) {
62 OdGeRay3d ret = new OdGeRay3d(GlobalsPINVOKE.OdGeRay3d_rotateBy__SWIG_0(swigCPtr, angle, OdGeVector3d.getCPtr(vect), OdGePoint3d.getCPtr(basePoint)), false);
64 return ret;
65 }
66
67 public new OdGeRay3d rotateBy(double angle, OdGeVector3d vect) {
68 OdGeRay3d ret = new OdGeRay3d(GlobalsPINVOKE.OdGeRay3d_rotateBy__SWIG_1(swigCPtr, angle, OdGeVector3d.getCPtr(vect)), false);
70 return ret;
71 }
72
78
79 public new OdGeRay3d scaleBy(double scaleFactor, OdGePoint3d basePoint) {
80 OdGeRay3d ret = new OdGeRay3d(GlobalsPINVOKE.OdGeRay3d_scaleBy__SWIG_0(swigCPtr, scaleFactor, OdGePoint3d.getCPtr(basePoint)), false);
82 return ret;
83 }
84
85 public new OdGeRay3d scaleBy(double scaleFactor) {
86 OdGeRay3d ret = new OdGeRay3d(GlobalsPINVOKE.OdGeRay3d_scaleBy__SWIG_1(swigCPtr, scaleFactor), false);
88 return ret;
89 }
90
91 public OdGeRay3d() : this(GlobalsPINVOKE.new_OdGeRay3d__SWIG_0(), true) {
93 }
94
95 public OdGeRay3d(OdGeRay3d line) : this(GlobalsPINVOKE.new_OdGeRay3d__SWIG_1(OdGeRay3d.getCPtr(line)), true) {
97 }
98
102
103 public OdGeRay3d(OdGePoint3d point1, OdGePoint3d point2) : this(GlobalsPINVOKE.new_OdGeRay3d__SWIG_3(OdGePoint3d.getCPtr(point1), OdGePoint3d.getCPtr(point2)), true) {
105 }
106
112
113 public OdGeRay3d set(OdGePoint3d point1, OdGePoint3d point2) {
116 return ret;
117 }
118
124
129 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
130
136
137}
138
139}
static global::System.Exception Retrieve()
static global::System.IntPtr OdGeRay3d_mirror(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeRay3d_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 OdGeRay3d_translateBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeRay3d_scaleBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeRay3d_copy(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeRay3d_scaleBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeRay3d_rotateBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeRay3d_set__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void delete_OdGeRay3d(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeRay3d_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeRay3d_transformBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeRay3d_set__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static HandleRef getCPtr(OdGeMatrix3d obj)
static HandleRef getCPtr(OdGePlane obj)
Definition OdGePlane.cs:25
static HandleRef getCPtr(OdGePoint3d obj)
override void Dispose(bool disposing)
Definition OdGeRay3d.cs:29
Teigha.Core.OdGe.EntityId vb_type()
Definition OdGeRay3d.cs:129
new OdGeRay3d transformBy(OdGeMatrix3d xfm)
Definition OdGeRay3d.cs:49
OdGeRay3d(OdGePoint3d point, OdGeVector3d vect)
Definition OdGeRay3d.cs:99
OdGeRay3d(OdGePoint3d point1, OdGePoint3d point2)
Definition OdGeRay3d.cs:103
new OdGeRay3d translateBy(OdGeVector3d translateVec)
Definition OdGeRay3d.cs:55
new OdGeRay3d rotateBy(double angle, OdGeVector3d vect, OdGePoint3d basePoint)
Definition OdGeRay3d.cs:61
OdGeRay3d(IntPtr cPtr, bool cMemoryOwn)
Definition OdGeRay3d.cs:20
new OdGeRay3d copy()
Definition OdGeRay3d.cs:42
new OdGeRay3d rotateBy(double angle, OdGeVector3d vect)
Definition OdGeRay3d.cs:67
new OdGeRay3d scaleBy(double scaleFactor)
Definition OdGeRay3d.cs:85
new OdGeRay3d scaleBy(double scaleFactor, OdGePoint3d basePoint)
Definition OdGeRay3d.cs:79
new OdGeRay3d mirror(OdGePlane plane)
Definition OdGeRay3d.cs:73
OdGeRay3d Assign(OdGeRay3d line)
Definition OdGeRay3d.cs:119
Teigha.Core.OdGeVector3d vb_direction()
Definition OdGeRay3d.cs:135
static HandleRef getCPtr(OdGeRay3d obj)
Definition OdGeRay3d.cs:25
OdGeRay3d(OdGeRay3d line)
Definition OdGeRay3d.cs:95
static HandleRef getCPtr(OdGeVector3d obj)