Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDgViewAsOrthography.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.TG {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16
17public class OdDgViewAsOrthography : OdDgViewAsOrthographySwigInterface, global::System.IDisposable {
18 private Object locker = new Object();
19 private HandleRef swigCPtr;
20 protected bool swigCMemOwn;
21 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
22 public OdDgViewAsOrthography(IntPtr cPtr, bool cMemoryOwn) {
23 swigCMemOwn = cMemoryOwn;
24 swigCPtr = new HandleRef(this, cPtr);
25 }
26 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 public static HandleRef getCPtr(OdDgViewAsOrthography obj) {
28 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
29 }
30
32 Dispose(false);
33 }
34
35 public void Dispose() {
36 Dispose(true);
37 global::System.GC.SuppressFinalize(this);
38 }
39
40 protected virtual void Dispose(bool disposing) {
41 lock(this) {
42 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
43 if (swigCMemOwn) {
44 swigCMemOwn = false;
46 }
47 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
48 }
49 }
50 }
51
52 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
53 global::System.Runtime.InteropServices.HandleRef OdDgViewAsOrthographySwigInterface.GetInterfaceCPtr() {
54 return new global::System.Runtime.InteropServices.HandleRef(this, TG_DbPINVOKE.OdDgViewAsOrthography_OdDgViewAsOrthographySwigInterface_GetInterfaceCPtr(swigCPtr.Handle));
55 }
56
57 public virtual void getOrthographyVisibleBox(OdGeExtents3d box) {
60 }
61
62 public virtual void setOrthographyVisibleBox(OdGeExtents3d box) {
65 }
66
67 public virtual void getOrthographyRotation(OdGeMatrix3d rotation) {
70 }
71
72 public virtual void setOrthographyRotation(OdGeMatrix3d rotation) {
75 }
76
80 return ret;
81 }
82
83 public virtual void setOrthographyPosition(OdGePoint3d position) {
86 }
87
88 public virtual double getOrthographyFrontClippingDistance() {
91 return ret;
92 }
93
94 public virtual void setOrthographyFrontClippingDistance(double distance) {
97 }
98
99 public virtual double getOrthographyBackClippingDistance() {
102 return ret;
103 }
104
105 public virtual void setOrthographyBackClippingDistance(double distance) {
108 }
109
110}
111
112}
static HandleRef getCPtr(OdGeExtents3d obj)
static HandleRef getCPtr(OdGeMatrix3d obj)
Definition: OdGeMatrix3d.cs:26
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
virtual void getOrthographyVisibleBox(OdGeExtents3d box)
OdDgViewAsOrthography(IntPtr cPtr, bool cMemoryOwn)
virtual void setOrthographyPosition(OdGePoint3d position)
virtual void Dispose(bool disposing)
virtual double getOrthographyBackClippingDistance()
static HandleRef getCPtr(OdDgViewAsOrthography obj)
virtual void setOrthographyBackClippingDistance(double distance)
virtual OdGePoint3d getOrthographyPosition()
virtual void setOrthographyFrontClippingDistance(double distance)
virtual void setOrthographyVisibleBox(OdGeExtents3d box)
virtual void setOrthographyRotation(OdGeMatrix3d rotation)
virtual void getOrthographyRotation(OdGeMatrix3d rotation)
virtual double getOrthographyFrontClippingDistance()
static global::System.Exception Retrieve()
static void OdDgViewAsOrthography_setOrthographyFrontClippingDistance(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdDgViewAsOrthography_OdDgViewAsOrthographySwigInterface_GetInterfaceCPtr(global::System.IntPtr jarg1)
static global::System.IntPtr OdDgViewAsOrthography_getOrthographyPosition(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgViewAsOrthography_getOrthographyVisibleBox(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDgViewAsOrthography_setOrthographyBackClippingDistance(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdDgViewAsOrthography_getOrthographyRotation(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static double OdDgViewAsOrthography_getOrthographyBackClippingDistance(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdDgViewAsOrthography(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgViewAsOrthography_setOrthographyVisibleBox(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDgViewAsOrthography_setOrthographyPosition(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static void OdDgViewAsOrthography_setOrthographyRotation(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static double OdDgViewAsOrthography_getOrthographyFrontClippingDistance(global::System.Runtime.InteropServices.HandleRef jarg1)
global::System.Runtime.InteropServices.HandleRef GetInterfaceCPtr()