Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdIesnaFile.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 OdIesnaFile : OdRxObject {
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
20 public OdIesnaFile(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdIesnaFile_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdIesnaFile 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 virtual double vertAngles() {
43// test csout
44 /*SIMPLETYPE*/
45 double ret = GlobalsPINVOKE.OdIesnaFile_vertAngles(swigCPtr);
47 return ret;
48 }
49
50 public virtual Int32 numVertAngles() {
51// test csout
52 /*SIMPLETYPE*/
53 Int32 ret = GlobalsPINVOKE.OdIesnaFile_numVertAngles(swigCPtr);
55 return ret;
56 }
57
58 public virtual double horzAngles() {
59// test csout
60 /*SIMPLETYPE*/
61 double ret = GlobalsPINVOKE.OdIesnaFile_horzAngles(swigCPtr);
63 return ret;
64 }
65
66 public virtual Int32 numHorzAngles() {
67// test csout
68 /*SIMPLETYPE*/
69 Int32 ret = GlobalsPINVOKE.OdIesnaFile_numHorzAngles(swigCPtr);
71 return ret;
72 }
73
75 global::System.IntPtr cPtr = GlobalsPINVOKE.OdIesnaFile_candelaDistribution(swigCPtr);
76 SWIGTYPE_p_p_double ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_p_double(cPtr, false);
78 return ret;
79 }
80
81 public virtual double maxCandela() {
82 double ret = GlobalsPINVOKE.OdIesnaFile_maxCandela(swigCPtr);
84 return ret;
85 }
86
92
98
99 public virtual bool isHorzAng90To270() {
100 bool ret = GlobalsPINVOKE.OdIesnaFile_isHorzAng90To270(swigCPtr);
102 return ret;
103 }
104
105 public virtual double getValue(double theta, double phi) {
106 double ret = GlobalsPINVOKE.OdIesnaFile_getValue(swigCPtr, theta, phi);
108 return ret;
109 }
110
111 public virtual double getValue_ipl(double theta, double phi) {
112 double ret = GlobalsPINVOKE.OdIesnaFile_getValue_ipl(swigCPtr, theta, phi);
114 return ret;
115 }
116
117 public virtual void render(OdGiGeometry pWD, double scale, Int32 interpolation) {
118 GlobalsPINVOKE.OdIesnaFile_render__SWIG_0(swigCPtr, OdGiGeometry.getCPtr(pWD), scale, interpolation /*SIMPLETYPE*/);
120 }
121
126
127 protected static string getRealClassName(IntPtr ptr) {
128 string ret = GlobalsPINVOKE.OdIesnaFile_getRealClassName(ptr /*SIMPLETYPE*/);
130 return ret;
131 }
132
133}
134
135}
static global::System.Exception Retrieve()
static double OdIesnaFile_vertAngles(HandleRef jarg1)
static double OdIesnaFile_horzAngles(HandleRef jarg1)
static int OdIesnaFile_fileSymmetry(HandleRef jarg1)
static double OdIesnaFile_getValue(HandleRef jarg1, double jarg2, double jarg3)
static double OdIesnaFile_getValue_ipl(HandleRef jarg1, double jarg2, double jarg3)
static global::System.IntPtr OdIesnaFile_candelaDistribution(HandleRef jarg1)
static double OdIesnaFile_maxCandela(HandleRef jarg1)
static void delete_OdIesnaFile(HandleRef jarg1)
static string OdIesnaFile_getRealClassName(IntPtr jarg1)
static Int32 OdIesnaFile_numVertAngles(HandleRef jarg1)
static int OdIesnaFile_fileType(HandleRef jarg1)
static Int32 OdIesnaFile_numHorzAngles(HandleRef jarg1)
static void OdIesnaFile_render__SWIG_0(HandleRef jarg1, HandleRef jarg2, double jarg3, Int32 jarg4)
static bool OdIesnaFile_isHorzAng90To270(HandleRef jarg1)
static void OdIesnaFile_render__SWIG_1(HandleRef jarg1, HandleRef jarg2, double jarg3)
static HandleRef getCPtr(OdGiGeometry obj)
virtual Int32 numHorzAngles()
static string getRealClassName(IntPtr ptr)
static HandleRef getCPtr(OdIesnaFile obj)
virtual Int32 numVertAngles()
virtual double maxCandela()
virtual OdGiWebLightTraits.WebSymmetry fileSymmetry()
virtual double getValue(double theta, double phi)
virtual double vertAngles()
virtual double horzAngles()
virtual double getValue_ipl(double theta, double phi)
virtual OdGiWebLightTraits.WebFileType fileType()
override void Dispose(bool disposing)
virtual SWIGTYPE_p_p_double candelaDistribution()
virtual void render(OdGiGeometry pWD, double scale, Int32 interpolation)
OdIesnaFile(IntPtr cPtr, bool cMemoryOwn)
virtual void render(OdGiGeometry pWD, double scale)
virtual bool isHorzAng90To270()