14using System.Runtime.InteropServices;
17 private Object locker =
new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 swigCPtr =
new HandleRef(
this, cPtr);
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
29 protected override void Dispose(
bool disposing) {
31 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
36 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
38 base.Dispose(disposing);
194 public bool isOn(
double param) {
263 public double length(
double fromParam,
double toParam,
double tol) {
287 public bool area(
double startParam,
double endParam, out
double value) {
294IntPtr p_piece1 = IntPtr.Zero;
295IntPtr p_piece2 = IntPtr.Zero;
300MemoryTransaction mTrans_piece1 = MemoryManager.GetMemoryManager().GetCurrentTransaction();
301 if(mTrans_piece1 !=
null)
305MemoryTransaction mTrans_piece2 = MemoryManager.GetMemoryManager().GetCurrentTransaction();
306 if(mTrans_piece2 !=
null)
static global::System.Exception Retrieve()
static global::System.IntPtr OdGeCurve2d_closestPointTo__SWIG_3(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, out double jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdGeCurve2d_appendSamplePoints__SWIG_2(HandleRef jarg1, int jarg2, IntPtr jarg3)
static bool OdGeCurve2d_explode__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3)
static bool OdGeCurve2d_setInterval__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeCurve2d_isOn__SWIG_3(HandleRef jarg1, double jarg2)
static global::System.IntPtr OdGeCurve2d_getGeomExtents__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeCurve2d_explode__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static global::System.IntPtr OdGeCurve2d_evalPoint__SWIG_1(HandleRef jarg1, double jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdGeCurve2d_appendSamplePoints__SWIG_0(HandleRef jarg1, double jarg2, double jarg3, double jarg4, IntPtr jarg5, IntPtr jarg6)
static bool OdGeCurve2d_area__SWIG_0(HandleRef jarg1, double jarg2, double jarg3, out double jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static void OdGeCurve2d_getSamplePoints__SWIG_1(HandleRef jarg1, int jarg2, IntPtr jarg3)
static double OdGeCurve2d_distanceTo__SWIG_2(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeCurve2d_isLinear__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdGeCurve2d_convertTo3d__SWIG_0(HandleRef jarg1)
static global::System.IntPtr OdGeCurve2d_closestPointTo__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdGeCurve2d_getLocalClosestPoints__SWIG_5(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static void OdGeCurve2d_appendSamplePoints__SWIG_1(HandleRef jarg1, double jarg2, double jarg3, double jarg4, IntPtr jarg5)
static void OdGeCurve2d_getLocalClosestPoints__SWIG_6(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdGeCurve2d_getSplitCurves(HandleRef jarg1, double jarg2, out IntPtr jarg3, out IntPtr jarg4)
static void OdGeCurve2d_getClosestPointTo__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeCurve2d_closestPointTo__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static double OdGeCurve2d_distanceTo__SWIG_3(HandleRef jarg1, HandleRef jarg2)
static bool OdGeCurve2d_hasStartPoint(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeCurve2d_getNormalPoint__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static IntPtr OdGeCurve2d_restoreUvCurve__SWIG_1(HandleRef jarg1, HandleRef jarg2)
static void OdGeCurve2d_getInterval__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeCurve2d_hasMidPoint__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeCurve2d_closestPointTo__SWIG_4(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static global::System.IntPtr OdGeCurve2d_evalPoint__SWIG_0(HandleRef jarg1, double jarg2)
static void OdGeCurve2d_convertTo3d__SWIG_1(HandleRef jarg1, HandleRef jarg2)
static void OdGeCurve2d_getLocalClosestPoints__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static void OdGeCurve2d_getClosestPointTo__SWIG_3(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static double OdGeCurve2d_paramAtLength(HandleRef jarg1, double jarg2, double jarg3, bool jarg4, double jarg5)
static bool OdGeCurve2d_isLinear__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeCurve2d_boundBlock__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdGeCurve2d_reverseParam(HandleRef jarg1)
static void OdGeCurve2d_getLocalClosestPoints__SWIG_2(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdGeCurve2d_getLocalClosestPoints__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdGeCurve2d_getTrimmedOffset__SWIG_2(HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeCurve2d_isPeriodic(HandleRef jarg1, out double jarg2)
static global::System.IntPtr OdGeCurve2d_midPoint__SWIG_1(HandleRef jarg1)
static IntPtr OdGeCurve2d_setInterval__SWIG_0(HandleRef jarg1)
static bool OdGeCurve2d_hasEndPoint(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeCurve2d_isClosed__SWIG_1(HandleRef jarg1)
static global::System.IntPtr OdGeCurve2d_getGeomExtents__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeCurve2d_area__SWIG_1(HandleRef jarg1, double jarg2, double jarg3, out double jarg4)
static void OdGeCurve2d_getLocalClosestPoints__SWIG_4(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6)
static void OdGeCurve2d_getTrimmedOffset__SWIG_1(HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4)
static bool OdGeCurve2d_isOn__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, out double jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static double OdGeCurve2d_paramOf__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGeCurve2d_getClosestPointTo__SWIG_2(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static void OdGeCurve2d_getSamplePoints__SWIG_0(HandleRef jarg1, double jarg2, double jarg3, double jarg4, IntPtr jarg5, global::System.Runtime.InteropServices.HandleRef jarg6)
static bool OdGeCurve2d_getNormalPoint__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static bool OdGeCurve2d_isOn__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, out double jarg3)
static bool OdGeCurve2d_hasMidPoint__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3)
static global::System.IntPtr OdGeCurve2d_closestPointTo__SWIG_5(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static double OdGeCurve2d_distanceTo__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeCurve2d_orthoBoundBlock__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeCurve2d_closestPointTo__SWIG_2(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, out double jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static global::System.IntPtr OdGeCurve2d_orthoBoundBlock__SWIG_0(HandleRef jarg1)
static double OdGeCurve2d_length__SWIG_0(HandleRef jarg1, double jarg2, double jarg3, double jarg4)
static global::System.IntPtr OdGeCurve2d_getGeomExtents__SWIG_2(HandleRef jarg1)
static void OdGeCurve2d_getTrimmedOffset__SWIG_0(HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static void OdGeCurve2d_getLocalClosestPoints__SWIG_3(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7)
static void OdGeCurve2d_getClosestPointTo__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static double OdGeCurve2d_paramOf__SWIG_2(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static global::System.IntPtr OdGeCurve2d_boundBlock__SWIG_0(HandleRef jarg1)
static IntPtr OdGeCurve2d_Assign(HandleRef jarg1, HandleRef jarg2)
static void OdGeCurve2d_getInterval__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static bool OdGeCurve2d_isOn__SWIG_2(HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static double OdGeCurve2d_length__SWIG_1(HandleRef jarg1, double jarg2)
static double OdGeCurve2d_paramOf__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void delete_OdGeCurve2d(HandleRef jarg1)
static double OdGeCurve2d_distanceTo__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static IntPtr OdGeCurve2d_restoreUvCurve__SWIG_0(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeCurve2d_midPoint__SWIG_0(HandleRef jarg1, double jarg2)
static void OdGeCurve2d_getSamplePoints__SWIG_3(HandleRef jarg1, double jarg2, double jarg3, double jarg4, IntPtr jarg5)
static bool OdGeCurve2d_isClosed__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static string OdGeCurve2d_getRealClassName(IntPtr jarg1)
OdGeBoundBlock2d orthoBoundBlock(OdGeInterval range)
bool isLinear(OdGeLine2d line, OdGeTol tol)
OdGeCurve2d Assign(OdGeCurve2d curve)
OdGeBoundBlock2d orthoBoundBlock()
OdGeExtents2d getGeomExtents(OdGeInterval range)
bool hasMidPoint(OdGePoint2d point, double coef)
double distanceTo(OdGeCurve2d otherCur, OdGeTol tol)
OdGePoint2d closestPointTo(OdGePoint2d point, out double param, OdGeInterval range, OdGeTol tol)
OdGeCurve2d(IntPtr cPtr, bool cMemoryOwn)
bool getNormalPoint(OdGePoint2d point, OdGePointOnCurve2d pntOnCrv)
bool isClosed(OdGeTol tol)
void getLocalClosestPoints(OdGeCurve2d otherCurve, OdGePointOnCurve2d approxPntOnThisCrv, OdGePointOnCurve2d approxPntOnOtherCrv, OdGeInterval nbhd1, OdGeInterval nbhd2, OdGeTol tol)
OdGePoint2d closestPointTo(OdGePoint2d point)
void getLocalClosestPoints(OdGeCurve2d otherCurve, OdGePointOnCurve2d approxPntOnThisCrv, OdGePointOnCurve2d approxPntOnOtherCrv)
double length(double tol)
void getSplitCurves(double param, out OdGeCurve2d piece1, out OdGeCurve2d piece2)
bool isPeriodic(out double period)
static string getRealClassName(IntPtr ptr)
bool isOn(double param, OdGeTol tol)
void getLocalClosestPoints(OdGePoint2d point, OdGePointOnCurve2d approxPnt, OdGeInterval nbhd)
bool isOn(OdGePoint2d point, out double param, OdGeTol tol)
OdGeBoundBlock2d boundBlock()
bool setInterval(OdGeInterval interval)
void getSamplePoints(double fromParam, double toParam, double approxEps, OdGePoint2dArray pointArray, OdGeDoubleArray paramArray)
double paramOf(OdGePoint2d point, OdGeTol tol)
void getClosestPointTo(OdGeCurve2d curve2d, OdGePointOnCurve2d pntOnThisCrv, OdGePointOnCurve2d pntOnOtherCrv, OdGeTol tol)
bool area(double startParam, double endParam, out double value, OdGeTol tol)
static OdGeCurve2d restoreUvCurve(OdGeCurve3d curve, OdGeSurface surface, OdGeTol tol)
void getLocalClosestPoints(OdGeCurve2d otherCurve, OdGePointOnCurve2d approxPntOnThisCrv, OdGePointOnCurve2d approxPntOnOtherCrv, OdGeInterval nbhd1, OdGeInterval nbhd2)
void getInterval(OdGeInterval interval, OdGePoint2d start, OdGePoint2d end)
OdGePoint2d closestPointTo(OdGePoint2d point, OdGeTol tol)
OdGeCurve2d setInterval()
OdGeExtents2d getGeomExtents()
Teigha.Core.OdGe.EntityId vb_type()
double distanceTo(OdGePoint2d point)
void getInterval(OdGeInterval interval)
bool isOn(OdGePoint2d point, out double param)
OdGeCurve3d convertTo3d()
void getLocalClosestPoints(OdGeCurve2d otherCurve, OdGePointOnCurve2d approxPntOnThisCrv, OdGePointOnCurve2d approxPntOnOtherCrv, OdGeInterval nbhd1)
double paramOf(OdGePoint2d point, OdGeInterval range, OdGeTol tol)
double distanceTo(OdGePoint2d point, OdGeTol tol)
void getLocalClosestPoints(OdGePoint2d point, OdGePointOnCurve2d approxPnt)
void getTrimmedOffset(double distance, OdGeCurve2dPtrArray offsetCurveList, OdGe.OffsetCrvExtType extensionType)
bool explode(OdGeCurve2dPtrArray explodedCurves, OdIntArray newExplodedCurve, OdGeInterval interval)
bool hasStartPoint(OdGePoint2d startPoint)
void getTrimmedOffset(double distance, OdGeCurve2dPtrArray offsetCurveList, OdGe.OffsetCrvExtType extensionType, OdGeTol tol)
double paramOf(OdGePoint2d point)
OdGeBoundBlock2d boundBlock(OdGeInterval range)
OdGeCurve2d reverseParam()
bool hasEndPoint(OdGePoint2d endPoint)
double length(double fromParam, double toParam, double tol)
void appendSamplePoints(double fromParam, double toParam, double approxEps, OdGePoint2dArray pointArray)
OdGePoint2d closestPointTo(OdGeCurve2d curve2d, OdGePoint2d pntOnOtherCrv, OdGeTol tol)
void getClosestPointTo(OdGePoint2d point, OdGePointOnCurve2d pntOnCrv, OdGeTol tol)
override void Dispose(bool disposing)
void getLocalClosestPoints(OdGePoint2d point, OdGePointOnCurve2d approxPnt, OdGeInterval nbhd, OdGeTol tol)
static HandleRef getCPtr(OdGeCurve2d obj)
void getSamplePoints(int numSample, OdGePoint2dArray pointArray)
OdGePoint2d closestPointTo(OdGePoint2d point, out double param, OdGeInterval range)
static OdGeCurve2d restoreUvCurve(OdGeCurve3d curve, OdGeSurface surface)
void convertTo3d(OdGeCurve3d curve3d)
OdGePoint2d evalPoint(double param)
bool area(double startParam, double endParam, out double value)
OdGePoint2d evalPoint(double param, int numDeriv, OdGeVector2dArray derivatives)
bool explode(OdGeCurve2dPtrArray explodedCurves, OdIntArray newExplodedCurve)
void getTrimmedOffset(double distance, OdGeCurve2dPtrArray offsetCurveList)
double distanceTo(OdGeCurve2d otherCur)
bool hasMidPoint(OdGePoint2d point)
OdGeExtents2d getGeomExtents(OdGeInterval range, OdGeMatrix2d coordSystem)
void getClosestPointTo(OdGePoint2d point, OdGePointOnCurve2d pntOnCrv)
void appendSamplePoints(int numSample, OdGePoint2dArray pointArray)
bool isLinear(OdGeLine2d line)
OdGePoint2d closestPointTo(OdGeCurve2d curve2d, OdGePoint2d pntOnOtherCrv)
OdGePoint2d midPoint(double coef)
double paramAtLength(double datumParam, double length, bool posParamDir, double tol)
void getClosestPointTo(OdGeCurve2d curve2d, OdGePointOnCurve2d pntOnThisCrv, OdGePointOnCurve2d pntOnOtherCrv)
void getSamplePoints(double fromParam, double toParam, double approxEps, OdGePoint2dArray pointArray)
bool getNormalPoint(OdGePoint2d point, OdGePointOnCurve2d pntOnCrv, OdGeTol tol)
void appendSamplePoints(double fromParam, double toParam, double approxEps, OdGePoint2dArray pointArray, OdGeDoubleArray pParamArray)
static HandleRef getCPtr(OdGeCurve2dPtrArray obj)
static HandleRef getCPtr(OdGeCurve3d obj)
static HandleRef getCPtr(OdGeDoubleArray obj)
static HandleRef getCPtr(OdGeInterval obj)
static HandleRef getCPtr(OdGeLine2d obj)
static HandleRef getCPtr(OdGeMatrix2d obj)
static HandleRef getCPtr(OdGePoint2dArray obj)
static HandleRef getCPtr(OdGePoint2d obj)
static HandleRef getCPtr(OdGePointOnCurve2d obj)
static HandleRef getCPtr(OdGeSurface obj)
static HandleRef getCPtr(OdGeTol obj)
static HandleRef getCPtr(OdGeVector2dArray obj)
static HandleRef getCPtr(OdIntArray obj)