Extended .NET SDK Documentation 2024 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 OdGeRay3d() : this(GlobalsPINVOKE.new_OdGeRay3d__SWIG_0(), true) {
44 }
45
46 public OdGeRay3d(OdGeRay3d line) : this(GlobalsPINVOKE.new_OdGeRay3d__SWIG_1(OdGeRay3d.getCPtr(line)), true) {
48 }
49
50 public OdGeRay3d(OdGePoint3d point, OdGeVector3d vect) : this(GlobalsPINVOKE.new_OdGeRay3d__SWIG_2(OdGePoint3d.getCPtr(point), OdGeVector3d.getCPtr(vect)), true) {
52 }
53
54 public OdGeRay3d(OdGePoint3d point1, OdGePoint3d point2) : this(GlobalsPINVOKE.new_OdGeRay3d__SWIG_3(OdGePoint3d.getCPtr(point1), OdGePoint3d.getCPtr(point2)), true) {
56 }
57
58 public OdGeRay3d set(OdGePoint3d point, OdGeVector3d vect) {
61 return ret;
62 }
63
64 public OdGeRay3d set(OdGePoint3d point1, OdGePoint3d point2) {
67 return ret;
68 }
69
70 public OdGeRay3d Assign(OdGeRay3d line) {
71 OdGeRay3d ret = new OdGeRay3d(GlobalsPINVOKE.OdGeRay3d_Assign(swigCPtr, OdGeRay3d.getCPtr(line)), false);
73 return ret;
74 }
75
80 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
81
87
88}
89
90}
static global::System.Exception Retrieve()
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_set__SWIG_1(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(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
override void Dispose(bool disposing)
Definition: OdGeRay3d.cs:29
Teigha.Core.OdGe.EntityId vb_type()
Definition: OdGeRay3d.cs:80
OdGeRay3d(OdGePoint3d point, OdGeVector3d vect)
Definition: OdGeRay3d.cs:50
OdGeRay3d(OdGePoint3d point1, OdGePoint3d point2)
Definition: OdGeRay3d.cs:54
OdGeRay3d(IntPtr cPtr, bool cMemoryOwn)
Definition: OdGeRay3d.cs:20
OdGeRay3d Assign(OdGeRay3d line)
Definition: OdGeRay3d.cs:70
Teigha.Core.OdGeVector3d vb_direction()
Definition: OdGeRay3d.cs:86
static HandleRef getCPtr(OdGeRay3d obj)
Definition: OdGeRay3d.cs:25
OdGeRay3d(OdGeRay3d line)
Definition: OdGeRay3d.cs:46
static HandleRef getCPtr(OdGeVector3d obj)
Definition: OdGeVector3d.cs:26