Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdHatchPatternLine.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 OdHatchPatternLine : global::System.IDisposable {
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 protected bool swigCMemOwn;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public OdHatchPatternLine(IntPtr cPtr, bool cMemoryOwn) {
22 swigCMemOwn = cMemoryOwn;
23 swigCPtr = new HandleRef(this, cPtr);
24 }
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdHatchPatternLine obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
31 Dispose(false);
32 }
33
34 public void Dispose() {
35 Dispose(true);
36 global::System.GC.SuppressFinalize(this);
37 }
38
39 protected virtual void Dispose(bool disposing) {
40 lock(this) {
41 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
42 if (swigCMemOwn) {
43 swigCMemOwn = false;
45 }
46 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
47 }
48 }
49 }
50
51 public double m_dLineAngle {
52 set {
55 }
56 get {
59 return ret;
60 }
61 }
62
64 set {
67 }
68 get {
69 global::System.IntPtr cPtr = GlobalsPINVOKE.OdHatchPatternLine_m_basePoint_get(swigCPtr);
70 OdGePoint2d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGePoint2d(cPtr, false);
72 return ret;
73 }
74 }
75
77 set {
80 }
81 get {
82 global::System.IntPtr cPtr = GlobalsPINVOKE.OdHatchPatternLine_m_patternOffset_get(swigCPtr);
83 OdGeVector2d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeVector2d(cPtr, false);
85 return ret;
86 }
87 }
88
90 set {
93 }
94 get
95 {
96 // csvarout array
98
100 return res;
101 }
102
103 }
104
105 public OdHatchPatternLine() : this(GlobalsPINVOKE.new_OdHatchPatternLine__SWIG_0(), true) {
107 }
108
109 public OdHatchPatternLine(OdHatchPatternLine pat) : this(GlobalsPINVOKE.new_OdHatchPatternLine__SWIG_1(OdHatchPatternLine.getCPtr(pat)), true) {
111 }
112
113 public void transformBy(OdGeMatrix2d ocsXform) {
116 }
117
118 public void scale(double s) {
121 }
122
123}
124
125}
static global::System.Exception Retrieve()
static void OdHatchPatternLine_m_dLineAngle_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdHatchPatternLine_m_patternOffset_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdHatchPatternLine_scale(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static double OdHatchPatternLine_m_dLineAngle_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdHatchPatternLine_transformBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdHatchPatternLine_m_patternOffset_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdHatchPatternLine_m_dashes_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdHatchPatternLine_m_basePoint_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdHatchPatternLine_m_basePoint_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_OdHatchPatternLine(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdHatchPatternLine_m_dashes_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdGeDoubleArray obj)
static HandleRef getCPtr(OdGeMatrix2d obj)
Definition: OdGeMatrix2d.cs:26
static HandleRef getCPtr(OdGePoint2d obj)
Definition: OdGePoint2d.cs:26
static HandleRef getCPtr(OdGeVector2d obj)
Definition: OdGeVector2d.cs:26
OdHatchPatternLine(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(OdHatchPatternLine obj)
OdHatchPatternLine(OdHatchPatternLine pat)
virtual void Dispose(bool disposing)
void transformBy(OdGeMatrix2d ocsXform)