Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDbRevolveOptions.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.TD {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16
17public class OdDbRevolveOptions : 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 OdDbRevolveOptions(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(OdDbRevolveOptions 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 public OdDbRevolveOptions() : this(TD_DbPINVOKE.new_OdDbRevolveOptions__SWIG_0(), true) {
54 }
55
56 public OdDbRevolveOptions(OdDbRevolveOptions src) : this(TD_DbPINVOKE.new_OdDbRevolveOptions__SWIG_1(OdDbRevolveOptions.getCPtr(src)), true) {
58 }
59
63 return ret;
64 }
65
66 public double draftAngle() {
67 double ret = TD_DbPINVOKE.OdDbRevolveOptions_draftAngle(swigCPtr);
69 return ret;
70 }
71
72 public void setDraftAngle(double ang) {
75 }
76
77 public double twistAngle() {
78 double ret = TD_DbPINVOKE.OdDbRevolveOptions_twistAngle(swigCPtr);
80 return ret;
81 }
82
83 public void setTwistAngle(double ang) {
86 }
87
88 public bool closeToAxis() {
91 return ret;
92 }
93
94 public void setCloseToAxis(bool val) {
97 }
98
99 public OdResult checkRevolveCurve(OdDbEntity pRevEnt, OdGePoint3d axisPnt, OdGeVector3d axisDir, out bool closed, out bool endPointsOnAxis, out bool planar, bool displayErrorMessages) {
100 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbRevolveOptions_checkRevolveCurve__SWIG_0(swigCPtr, OdDbEntity.getCPtr(pRevEnt), OdGePoint3d.getCPtr(axisPnt), OdGeVector3d.getCPtr(axisDir), out closed, out endPointsOnAxis, out planar, displayErrorMessages);
102 return ret;
103 }
104
105 public OdResult checkRevolveCurve(OdDbEntity pRevEnt, OdGePoint3d axisPnt, OdGeVector3d axisDir, out bool closed, out bool endPointsOnAxis, out bool planar) {
106 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbRevolveOptions_checkRevolveCurve__SWIG_1(swigCPtr, OdDbEntity.getCPtr(pRevEnt), OdGePoint3d.getCPtr(axisPnt), OdGeVector3d.getCPtr(axisDir), out closed, out endPointsOnAxis, out planar);
108 return ret;
109 }
110
111}
112
113}
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
static HandleRef getCPtr(OdGeVector3d obj)
Definition: OdGeVector3d.cs:26
static HandleRef getCPtr(OdDbEntity obj)
Definition: OdDbEntity.cs:26
OdDbRevolveOptions(OdDbRevolveOptions src)
OdDbRevolveOptions Assign(OdDbRevolveOptions src)
OdResult checkRevolveCurve(OdDbEntity pRevEnt, OdGePoint3d axisPnt, OdGeVector3d axisDir, out bool closed, out bool endPointsOnAxis, out bool planar, bool displayErrorMessages)
static HandleRef getCPtr(OdDbRevolveOptions obj)
OdResult checkRevolveCurve(OdDbEntity pRevEnt, OdGePoint3d axisPnt, OdGeVector3d axisDir, out bool closed, out bool endPointsOnAxis, out bool planar)
virtual void Dispose(bool disposing)
OdDbRevolveOptions(IntPtr cPtr, bool cMemoryOwn)
static global::System.Exception Retrieve()
static double OdDbRevolveOptions_twistAngle(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdDbRevolveOptions_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static double OdDbRevolveOptions_draftAngle(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdDbRevolveOptions_checkRevolveCurve__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, out bool jarg5, out bool jarg6, out bool jarg7, bool jarg8)
static void OdDbRevolveOptions_setCloseToAxis(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDbRevolveOptions_setDraftAngle(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static bool OdDbRevolveOptions_closeToAxis(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdDbRevolveOptions_checkRevolveCurve__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, out bool jarg5, out bool jarg6, out bool jarg7)
static void delete_OdDbRevolveOptions(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbRevolveOptions_setTwistAngle(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)