Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdGiPatternAttribs.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 OdGiPatternAttribs : 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 OdGiPatternAttribs(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(OdGiPatternAttribs 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 OdGiPatternAttribs() : this(GlobalsPINVOKE.new_OdGiPatternAttribs(), true) {
53 }
54
60
65
66 public void calcAttribs(OdGeSurface pSrf, OdGePoint2d faceFillOrigin, double rotAngle, OdGePoint2dArray basePts, OdGeDoubleArray angles, OdGeVector2dArray offsets, OdInt32Array faceList, OdGePoint3dArray vertexList, OdGePoint2dArray trMidPts, OdGeDoubleArray annotationScales, OdGeScale2d globalScaleUv, bool swapUv, double uDerScale, OdGeMatrix3d pTransfMx) {
67 GlobalsPINVOKE.OdGiPatternAttribs_calcAttribs(swigCPtr, OdGeSurface.getCPtr(pSrf), OdGePoint2d.getCPtr(faceFillOrigin), rotAngle, OdGePoint2dArray.getCPtr(basePts).Handle, OdGeDoubleArray.getCPtr(angles), OdGeVector2dArray.getCPtr(offsets), OdInt32Array.getCPtr(faceList).Handle, OdGePoint3dArray.getCPtr(vertexList), OdGePoint2dArray.getCPtr(trMidPts).Handle, OdGeDoubleArray.getCPtr(annotationScales), OdGeScale2d.getCPtr(globalScaleUv), swapUv, uDerScale, OdGeMatrix3d.getCPtr(pTransfMx));
69 }
70
71 public double calcAngleBetweenCurves(OdGeSurface pSrf, bool swapUv, double uDerScale, OdGePoint2d uvPt, OdGeVector2d dir, bool mirror) {
72 double ret = GlobalsPINVOKE.OdGiPatternAttribs_calcAngleBetweenCurves(swigCPtr, OdGeSurface.getCPtr(pSrf), swapUv, uDerScale, OdGePoint2d.getCPtr(uvPt), OdGeVector2d.getCPtr(dir).Handle, mirror);
74 return ret;
75 }
76
92
108
124
140
156
157}
158
159}
static global::System.Exception Retrieve()
static void OdGiPatternAttribs_fillOffsetDirectionArr_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGiPatternAttribs_isEmpty(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiPatternAttribs_fillDashesScaleArr_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiPatternAttribs_fillOffsetDirectionArr_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiPatternAttribs_fillOffsetScaleArr_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiPatternAttribs_fillDirectionArr_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static double OdGiPatternAttribs_calcAngleBetweenCurves(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, bool jarg3, double jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, IntPtr jarg6, bool jarg7)
static global::System.IntPtr OdGiPatternAttribs_fillDirectionArr_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiPatternAttribs_calcAttribs(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, double jarg4, IntPtr jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, IntPtr jarg8, global::System.Runtime.InteropServices.HandleRef jarg9, IntPtr jarg10, global::System.Runtime.InteropServices.HandleRef jarg11, global::System.Runtime.InteropServices.HandleRef jarg12, bool jarg13, double jarg14, global::System.Runtime.InteropServices.HandleRef jarg15)
static global::System.IntPtr OdGiPatternAttribs_fillOriginArr_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiPatternAttribs_fillDashesScaleArr_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiPatternAttribs_clear(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdGiPatternAttribs(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiPatternAttribs_fillOffsetScaleArr_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiPatternAttribs_fillOriginArr_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static HandleRef getCPtr(OdGeDoubleArray obj)
static HandleRef getCPtr(OdGeMatrix3d obj)
static HandleRef getCPtr(OdGePoint2dArray obj)
static HandleRef getCPtr(OdGePoint2d obj)
static HandleRef getCPtr(OdGePoint3dArray obj)
static HandleRef getCPtr(OdGeScale2d obj)
static HandleRef getCPtr(OdGeSurface obj)
static HandleRef getCPtr(OdGeVector2dArray obj)
static HandleRef getCPtr(OdGeVector2d obj)
void calcAttribs(OdGeSurface pSrf, OdGePoint2d faceFillOrigin, double rotAngle, OdGePoint2dArray basePts, OdGeDoubleArray angles, OdGeVector2dArray offsets, OdInt32Array faceList, OdGePoint3dArray vertexList, OdGePoint2dArray trMidPts, OdGeDoubleArray annotationScales, OdGeScale2d globalScaleUv, bool swapUv, double uDerScale, OdGeMatrix3d pTransfMx)
OdGiPatternAttribs(IntPtr cPtr, bool cMemoryOwn)
virtual void Dispose(bool disposing)
double calcAngleBetweenCurves(OdGeSurface pSrf, bool swapUv, double uDerScale, OdGePoint2d uvPt, OdGeVector2d dir, bool mirror)
static HandleRef getCPtr(OdGiPatternAttribs obj)
static HandleRef getCPtr(OdInt32Array obj)