Extended .NET SDK Documentation 2025 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
59
65
71
72 public double draftAngle() {
73 double ret = TD_DbPINVOKE.OdDbRevolveOptions_draftAngle(swigCPtr);
75 return ret;
76 }
77
82
83 public double twistAngle() {
84 double ret = TD_DbPINVOKE.OdDbRevolveOptions_twistAngle(swigCPtr);
86 return ret;
87 }
88
93
99
104
105 public OdResult checkRevolveCurve(OdDbEntity pRevEnt, OdGePoint3d axisPnt, OdGeVector3d axisDir, out bool closed, out bool endPointsOnAxis, out bool planar, bool displayErrorMessages) {
106 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);
108 return ret;
109 }
110
111 public OdResult checkRevolveCurve(OdDbEntity pRevEnt, OdGePoint3d axisPnt, OdGeVector3d axisDir, out bool closed, out bool endPointsOnAxis, out bool planar) {
112 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);
114 return ret;
115 }
116
117}
118
119}
static HandleRef getCPtr(OdGePoint3d obj)
static HandleRef getCPtr(OdGeVector3d obj)
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)
bool IsEqual(OdDbRevolveOptions opt)
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 bool OdDbRevolveOptions_IsEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_OdDbRevolveOptions(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbRevolveOptions_setTwistAngle(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)