Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
CFxViewportSnapShot.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 PCAD_DOT_NET {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16using Teigha.TD;
17
18public class CFxViewportSnapShot : global::System.IDisposable {
19 private Object locker = new Object();
20 private HandleRef swigCPtr;
21 protected bool swigCMemOwn;
22 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
23 public CFxViewportSnapShot(IntPtr cPtr, bool cMemoryOwn) {
24 swigCMemOwn = cMemoryOwn;
25 swigCPtr = new HandleRef(this, cPtr);
26 }
27 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
28 public static HandleRef getCPtr(CFxViewportSnapShot obj) {
29 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
30 }
31
33 Dispose(false);
34 }
35
36 public void Dispose() {
37 Dispose(true);
38 global::System.GC.SuppressFinalize(this);
39 }
40
41 protected virtual void Dispose(bool disposing) {
42 lock(this) {
43 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
44 if (swigCMemOwn) {
45 swigCMemOwn = false;
47 }
48 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
49 }
50 }
51 }
52
56
62
68
73
80
87
93
99
105
111
117
123
129
135
141
147
153
159
160 public OdGePoint2d GetNumPixelsInUnitSquare(double iWidthInPixels, double iHeighInPixels, OdGePoint3d point, bool bUsePerspective) {
161 OdGePoint2d ret = new OdGePoint2d(PCADGlobalsPINVOKE.CFxViewportSnapShot_GetNumPixelsInUnitSquare(swigCPtr, iWidthInPixels, iHeighInPixels, OdGePoint3d.getCPtr(point), bUsePerspective), true);
163 return ret;
164 }
165
171
177
178}
179
180}
static HandleRef getCPtr(CFxViewDrawInfo obj)
static HandleRef getCPtr(CFxView obj)
Definition CFxView.cs:27
OdGePoint2d GetNumPixelsInUnitSquare(double iWidthInPixels, double iHeighInPixels, OdGePoint3d point, bool bUsePerspective)
bool IsEqual(CFxViewportSnapShot other)
static HandleRef getCPtr(CFxViewportSnapShot obj)
bool IsNotEqual(CFxViewportSnapShot other)
virtual void Dispose(bool disposing)
static bool IsViewSettingsValid(OdGsView pView)
CFxViewportSnapShot(IntPtr cPtr, bool cMemoryOwn)
static bool IsViewSettingsValid(OdDbViewport pViewport)
static bool IsViewExtentsValid(OdGeExtents3d extents)
bool InitializeFromViewInfo(CFxViewDrawInfo pViewInfo)
static double CFxViewportSnapShot_GetFocalLength(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxViewportSnapShot_GetUpVector(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxViewportSnapShot_IsViewSettingsValid__SWIG_0(HandleRef jarg1)
static bool CFxViewportSnapShot_InitializeFromView(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr CFxViewportSnapShot_GetPosition(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxViewportSnapShot_GetNumPixelsInUnitSquare(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, bool jarg5)
static bool CFxViewportSnapShot_IsEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_CFxViewportSnapShot(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxViewportSnapShot_InitializeFromViewInfo(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr CFxViewportSnapShot_GetEyeVector(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxViewportSnapShot_IsViewSettingsValid__SWIG_1(HandleRef jarg1)
static double CFxViewportSnapShot_GetFieldHeight(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxViewportSnapShot_ApplyToView(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr CFxViewportSnapShot_GetTarget(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxViewportSnapShot_IsNotEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool CFxViewportSnapShot_IsViewExtentsValid(global::System.Runtime.InteropServices.HandleRef jarg1)
static double CFxViewportSnapShot_GetPixelWidth(global::System.Runtime.InteropServices.HandleRef jarg1)
static double CFxViewportSnapShot_GetFieldWidth(global::System.Runtime.InteropServices.HandleRef jarg1)
static double CFxViewportSnapShot_GetPixelHeight(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxViewportSnapShot_GetVisibleRect(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxViewportSnapShot_GetWorldToEyeMatrix(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdGeExtents3d obj)
static HandleRef getCPtr(OdGePoint3d obj)
static HandleRef getCPtr(OdGsView obj)
Definition OdGsView.cs:25
static HandleRef getCPtr(OdDbViewport obj)