Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdDbFlattenViewsHelper.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 OdDbFlattenViewsHelper : 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 OdDbFlattenViewsHelper(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(OdDbFlattenViewsHelper 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
55
57 OdDbDatabase ret = (OdDbDatabase)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbDatabase),TD_DbPINVOKE.OdDbFlattenViewsHelper_database(swigCPtr),false); /*createInt 3_2*/
58
60 return ret;
61}
62
68
74
80
86
92
97
103
109
115
116 public OdResult createSectionHLR(bool bCreateSection, bool bCreateHiddenLines) {
117 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbFlattenViewsHelper_createSectionHLR(swigCPtr, bCreateSection, bCreateHiddenLines);
119 return ret;
120 }
121
127
133
139
144
150
155
161
166
167 public bool getSectionHatches(OdRxObjectPtrArray arrHatches, bool bSetProperties) {
168 bool ret = TD_DbPINVOKE.OdDbFlattenViewsHelper_getSectionHatches(swigCPtr, OdRxObjectPtrArray.getCPtr(arrHatches), bSetProperties);
170 return ret;
171 }
172
173 public bool getHiddenLines(OdRxObjectPtrArray arrHiddenLines, bool bSetProperties) {
174 bool ret = TD_DbPINVOKE.OdDbFlattenViewsHelper_getHiddenLines(swigCPtr, OdRxObjectPtrArray.getCPtr(arrHiddenLines), bSetProperties);
176 return ret;
177 }
178
179 public bool getVisibleLines(OdRxObjectPtrArray arrVisibleLines, bool bSetProperties) {
180 bool ret = TD_DbPINVOKE.OdDbFlattenViewsHelper_getVisibleLines(swigCPtr, OdRxObjectPtrArray.getCPtr(arrVisibleLines), bSetProperties);
182 return ret;
183 }
184
185}
186
187}
static HandleRef getCPtr(OdGeMatrix3d obj)
static HandleRef getCPtr(OdGePoint3d obj)
static HandleRef getCPtr(OdGeVector3d obj)
static HandleRef getCPtr(OdRxObjectPtrArray obj)
static HandleRef getCPtr(OdDbBlockTableRecord obj)
bool getSectionHatches(OdRxObjectPtrArray arrHatches, bool bSetProperties)
OdResult createSectionHLR(bool bCreateSection, bool bCreateHiddenLines)
OdResult addToBlock(OdDbBlockTableRecord pOwner)
OdResult setEntities(OdDbObjectIdArray arr3dObjects)
bool getVisibleLines(OdRxObjectPtrArray arrVisibleLines, bool bSetProperties)
void setForegroundCurveProperties(OdDbHLRCurveProperties curveProp)
OdResult setProjectionPlane(OdGePoint3d ptBase, OdGeVector3d vrDir, OdGeVector3d vrUp)
void setSectionHatchSettings(OdDbSectionHatchPatternSettings patternSettings)
static HandleRef getCPtr(OdDbFlattenViewsHelper obj)
OdDbSectionHatchPatternSettings sectionHatchSettings()
OdDbHLRCurveProperties foregroundCurveProperties()
bool getHiddenLines(OdRxObjectPtrArray arrHiddenLines, bool bSetProperties)
OdDbFlattenViewsHelper(IntPtr cPtr, bool cMemoryOwn)
void setObscuredCurveProperties(OdDbHLRCurveProperties curveProp)
OdDbHLRCurveProperties obscuredCurveProperties()
virtual void Dispose(bool disposing)
OdResult addToBlock(OdDbBlockTableRecord pOwner, OdGeMatrix3d matTransform)
static HandleRef getCPtr(OdDbHLRCurveProperties obj)
static HandleRef getCPtr(OdDbObjectIdArray obj)
static HandleRef getCPtr(OdDbSectionHatchPatternSettings obj)
static global::System.Exception Retrieve()
static bool OdDbFlattenViewsHelper_getVisibleLines(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3)
static global::System.IntPtr OdDbFlattenViewsHelper_projectionDirection(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdDbFlattenViewsHelper_createSectionHLR(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2, bool jarg3)
static global::System.IntPtr OdDbFlattenViewsHelper_getEntities(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdDbFlattenViewsHelper_projectionUp(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbFlattenViewsHelper_setObscuredCurveProperties(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDbFlattenViewsHelper_setProjectionPlane(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static global::System.IntPtr OdDbFlattenViewsHelper_getExtents(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDbFlattenViewsHelper_includeTangentalEdgesFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdDbFlattenViewsHelper(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdDbFlattenViewsHelper_projectionBase(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdDbFlattenViewsHelper_sectionHatchSettings(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdDbFlattenViewsHelper_addToBlock__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static int OdDbFlattenViewsHelper_setEntities(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDbFlattenViewsHelper_setForegroundCurveProperties(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDbFlattenViewsHelper_setIncludeTangentalEdgesFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static global::System.IntPtr OdDbFlattenViewsHelper_obscuredCurveProperties(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDbFlattenViewsHelper_getHiddenLines(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3)
static bool OdDbFlattenViewsHelper_getSectionHatches(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3)
static int OdDbFlattenViewsHelper_addToBlock__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdDbFlattenViewsHelper_foregroundCurveProperties(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbFlattenViewsHelper_setSectionHatchSettings(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdDbFlattenViewsHelper_database(global::System.Runtime.InteropServices.HandleRef jarg1)