14using System.Runtime.InteropServices;
18 private Object locker =
new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
22 swigCPtr =
new HandleRef(
this, cPtr);
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
30 protected override void Dispose(
bool disposing) {
32 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
37 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
39 base.Dispose(disposing);
58 MemoryManager mMan = MemoryManager.GetMemoryManager();
59 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
99 MemoryManager mMan = MemoryManager.GetMemoryManager();
100 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
151 public OdResult get(out
byte uOrderU, out
byte uOrderV, out
bool bRational, out
bool bClosedInU, out
bool bClosedInV, out
int iUNumControlPoints, out
int iVNumControlPoints,
OdGePoint3dArray ctrlPtsArr,
OdGeDoubleArray weights,
OdGeKnotVector uKnots,
OdGeKnotVector vKnots) {
152 OdResult ret = (
OdResult)
TG_DbPINVOKE.
OdDgBSplineSurface_get(swigCPtr, out uOrderU, out uOrderV, out bRational, out bClosedInU, out bClosedInV, out iUNumControlPoints, out iVNumControlPoints,
OdGePoint3dArray.
getCPtr(ctrlPtsArr),
OdGeDoubleArray.
getCPtr(weights),
OdGeKnotVector.
getCPtr(uKnots),
OdGeKnotVector.
getCPtr(vKnots));
157 public OdResult set(
byte uOrderU,
byte uOrderV,
bool bRational,
bool bClosedInU,
bool bClosedInV,
int iUNumControlPoints,
int iVNumControlPoints,
OdGePoint3dArray ctrlPtsArr,
OdGeDoubleArray weights,
OdGeKnotVector uKnots,
OdGeKnotVector vKnots) {
158 OdResult ret = (
OdResult)
TG_DbPINVOKE.
OdDgBSplineSurface_set(swigCPtr, uOrderU , uOrderV , bRational, bClosedInU, bClosedInV, iUNumControlPoints, iVNumControlPoints,
OdGePoint3dArray.
getCPtr(ctrlPtsArr),
OdGeDoubleArray.
getCPtr(weights),
OdGeKnotVector.
getCPtr(uKnots),
OdGeKnotVector.
getCPtr(vKnots));
384 MemoryManager mMan = MemoryManager.GetMemoryManager();
385 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
static HandleRef getCPtr(OdGeDoubleArray obj)
static HandleRef getCPtr(OdGeExtents3d obj)
static HandleRef getCPtr(OdGeKnotVector obj)
static HandleRef getCPtr(OdGeNurbSurface obj)
static HandleRef getCPtr(OdGePoint2dArray obj)
static HandleRef getCPtr(OdGePoint3dArray obj)
static HandleRef getCPtr(OdGePoint3d obj)
static HandleRef getCPtr(OdGeVector3dArray obj)
static HandleRef getCPtr(OdGeVector3d obj)
virtual OdGiDrawable.DrawableType drawableType()
static HandleRef getCPtr(OdGiDrawableTraits obj)
static HandleRef getCPtr(OdGiWorldDraw obj)
static HandleRef getCPtr(OdRxClass obj)
static HandleRef getCPtr(OdRxObject obj)
static HandleRef getCPtr(OdRxObjectPtrArray obj)
OdResult getNumberOfSpansInV(out UInt32 span)
static new OdRxClass desc()
OdResult getVKnots(OdGeKnotVector knots)
OdResult getNumberOfControlPointsInU(out UInt32 iCount)
OdResult isRational(out bool bIsRational)
OdResult getUKnots(OdGeKnotVector knots)
OdResult getOrderInV(out byte uOrderV)
override OdResult subGetGeomExtents(OdGeExtents3d extents)
OdResult isClosedInV(out bool bIsClosed)
OdResult getParameterOfPoint(OdGePoint3d point, out double dU, out double dV)
OdResult addBoundary(OdGePoint2dArray arrBoundaryPts)
OdResult getControlPointAt(UInt32 iUIndex, UInt32 iVIndex, OdGePoint3d point)
OdResult deleteBoundary(UInt32 uIndex)
OdResult getNumberOfKnotsInV(out UInt32 iCount)
static new OdDgBSplineSurface createObject()
void setControlNetDisplayFlag(bool value)
OdResult getOrderInU(out byte uOrderU)
void setSurfaceDisplayFlag(bool value)
OdResult getControlPoints(out UInt32 iUCount, out UInt32 iVCount, OdGePoint3dArray points)
override UInt32 subSetAttributes(OdGiDrawableTraits pTraits)
virtual void setHoleFlag(bool flag)
OdResult setNumberOfSpansInU(UInt32 span)
override byte getElementSubType()
OdResult getNumberOfKnotsInU(out UInt32 iCount)
virtual Teigha.Core.OdGiDrawable.DrawableType vb_drawableType()
OdResult isClosedInU(out bool bIsClosed)
override OdDgElement.ElementTypes getElementType()
OdResult setControlPointAt(UInt32 iUIndex, UInt32 iVIndex, OdGePoint3d point)
OdResult isPointOnSurface(OdGePoint3d point, out bool bOnSurface)
OdResult setBoundary(UInt32 uIndex, OdGePoint2dArray arrBoundaryPts)
UInt32 getBoundariesCount()
virtual OdResult subExplode(OdRxObjectPtrArray entitySet)
bool getFirstBoundaryIsHoleFlag()
static HandleRef getCPtr(OdDgBSplineSurface obj)
OdResult getNumberOfSpansInU(out UInt32 span)
override OdRxObject queryX(OdRxClass protocolClass)
OdResult getNormal(double dU, double dV, OdGeVector3d normal)
OdResult getNumberOfControlPointsInV(out UInt32 iCount)
bool getControlNetDisplayFlag()
override void Dispose(bool disposing)
OdResult setControlPoints(UInt32 iUCount, UInt32 iVCount, OdGePoint3dArray points)
OdResult evaluate(double dU, double dV, int iDerivDegree, OdGePoint3d point, OdGeVector3dArray derivatives)
bool getSurfaceDisplayFlag()
OdResult getWeight(UInt32 iUIndex, UInt32 iVIndex, out double weight)
OdResult setNumberOfSpansInV(UInt32 span)
virtual bool getHoleFlag()
override OdRxObject clone()
OdDgBSplineSurface(IntPtr cPtr, bool cMemoryOwn)
OdResult evaluate(double dU, double dV, OdGePoint3d pos, OdGeVector3d uDeriv, OdGeVector3d vDeriv)
OdResult getBoundary(UInt32 uIndex, OdGePoint2dArray arrBoundaryPts)
static OdDgBSplineSurface cast(OdRxObject pObj)
OdResult evaluate(double dU, double dV, OdGePoint3d pos, OdGeVector3d uDeriv, OdGeVector3d vDeriv, OdGeVector3d uuDeriv, OdGeVector3d uvDeriv, OdGeVector3d vvDeriv)
static string getRealClassName(IntPtr ptr)
virtual void vb_gripStatus(Teigha.TG.OdDgElement.GripStat status)
void setFirstBoundaryIsHoleFlag(bool bSet)
void generateGeSurface(OdGeNurbSurface destination)
OdResult evaluate(double dU, double dV, OdGePoint3d pos)
OdResult setWeight(UInt32 iUIndex, UInt32 iVIndex, double weight)
override bool subWorldDraw(OdGiWorldDraw pWd)
virtual void gripStatus(OdDgElement.GripStat status)
static global::System.Exception Retrieve()
static int OdDgBSplineSurface_evaluate__SWIG_3(HandleRef jarg1, double jarg2, double jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6)
static int OdDgBSplineSurface_getVKnots(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDgBSplineSurface_isClosedInV(HandleRef jarg1, out bool jarg2)
static bool OdDgBSplineSurface_getSurfaceDisplayFlag(HandleRef jarg1)
static int OdDgBSplineSurface_getNumberOfKnotsInV(HandleRef jarg1, out UInt32 jarg2)
static int OdDgBSplineSurface_getWeight(HandleRef jarg1, UInt32 jarg2, UInt32 jarg3, out double jarg4)
static int OdDgBSplineSurface_setNumberOfSpansInV(HandleRef jarg1, UInt32 jarg2)
static void OdDgBSplineSurface_setHoleFlag(HandleRef jarg1, bool jarg2)
static IntPtr OdDgBSplineSurface_clone(HandleRef jarg1)
static int OdDgBSplineSurface_isRational(HandleRef jarg1, out bool jarg2)
static int OdDgBSplineSurface_isPointOnSurface(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, out bool jarg3)
static IntPtr OdDgBSplineSurface_desc()
static UInt32 OdDgBSplineSurface_getBoundariesCount(HandleRef jarg1)
static int OdDgBSplineSurface_getNumberOfSpansInV(HandleRef jarg1, out UInt32 jarg2)
static int OdDgBSplineSurface_evaluate__SWIG_2(HandleRef jarg1, double jarg2, double 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, global::System.Runtime.InteropServices.HandleRef jarg8, global::System.Runtime.InteropServices.HandleRef jarg9)
static int OdDgBSplineSurface_getNumberOfSpansInU(HandleRef jarg1, out UInt32 jarg2)
static int OdDgBSplineSurface_getNumberOfControlPointsInV(HandleRef jarg1, out UInt32 jarg2)
static int OdDgBSplineSurface_setBoundary(HandleRef jarg1, UInt32 jarg2, IntPtr jarg3)
static void OdDgBSplineSurface_setSurfaceDisplayFlag(HandleRef jarg1, bool jarg2)
static int OdDgBSplineSurface_isClosedInU(HandleRef jarg1, out bool jarg2)
static int OdDgBSplineSurface_getControlPoints(HandleRef jarg1, out UInt32 jarg2, out UInt32 jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static int OdDgBSplineSurface_get(HandleRef jarg1, out byte jarg2, out byte jarg3, out bool jarg4, out bool jarg5, out bool jarg6, out int jarg7, out int jarg8, global::System.Runtime.InteropServices.HandleRef jarg9, global::System.Runtime.InteropServices.HandleRef jarg10, global::System.Runtime.InteropServices.HandleRef jarg11, global::System.Runtime.InteropServices.HandleRef jarg12)
static int OdDgBSplineSurface_getUKnots(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDgBSplineSurface_setControlPoints(HandleRef jarg1, UInt32 jarg2, UInt32 jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdDgBSplineSurface_generateGeSurface(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdDgBSplineSurface_cast(HandleRef jarg1)
static byte OdDgBSplineSurface_getElementSubType(HandleRef jarg1)
static bool OdDgBSplineSurface_getHoleFlag(HandleRef jarg1)
static void delete_OdDgBSplineSurface(HandleRef jarg1)
static int OdDgBSplineSurface_setNumberOfSpansInU(HandleRef jarg1, UInt32 jarg2)
static IntPtr OdDgBSplineSurface_createObject()
static IntPtr OdDgBSplineSurface_isA(HandleRef jarg1)
static int OdDgBSplineSurface_getOrderInV(HandleRef jarg1, out byte jarg2)
static int OdDgBSplineSurface_getBoundary(HandleRef jarg1, UInt32 jarg2, IntPtr jarg3)
static bool OdDgBSplineSurface_getControlNetDisplayFlag(HandleRef jarg1)
static void OdDgBSplineSurface_setControlNetDisplayFlag(HandleRef jarg1, bool jarg2)
static string OdDgBSplineSurface_getRealClassName(IntPtr jarg1)
static int OdDgBSplineSurface_evaluate__SWIG_0(HandleRef jarg1, double jarg2, double jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static IntPtr OdDgBSplineSurface_queryX(HandleRef jarg1, HandleRef jarg2)
static int OdDgBSplineSurface_getElementType(HandleRef jarg1)
static int OdDgBSplineSurface_getOrderInU(HandleRef jarg1, out byte jarg2)
static int OdDgBSplineSurface_set(HandleRef jarg1, byte jarg2, byte jarg3, bool jarg4, bool jarg5, bool jarg6, int jarg7, int jarg8, global::System.Runtime.InteropServices.HandleRef jarg9, global::System.Runtime.InteropServices.HandleRef jarg10, global::System.Runtime.InteropServices.HandleRef jarg11, global::System.Runtime.InteropServices.HandleRef jarg12)
static int OdDgBSplineSurface_addBoundary(HandleRef jarg1, IntPtr jarg2)
static int OdDgBSplineSurface_getControlPointAt(HandleRef jarg1, UInt32 jarg2, UInt32 jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static bool OdDgBSplineSurface_getFirstBoundaryIsHoleFlag(HandleRef jarg1)
static int OdDgBSplineSurface_setWeight(HandleRef jarg1, UInt32 jarg2, UInt32 jarg3, double jarg4)
static int OdDgBSplineSurface_subExplode(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDgBSplineSurface_getNumberOfKnotsInU(HandleRef jarg1, out UInt32 jarg2)
static int OdDgBSplineSurface_subGetGeomExtents(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDgBSplineSurface_evaluate__SWIG_1(HandleRef jarg1, double jarg2, double jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6)
static int OdDgBSplineSurface_setControlPointAt(HandleRef jarg1, UInt32 jarg2, UInt32 jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static int OdDgBSplineSurface_getNumberOfControlPointsInU(HandleRef jarg1, out UInt32 jarg2)
static UInt32 OdDgBSplineSurface_subSetAttributes(HandleRef jarg1, HandleRef jarg2)
static int OdDgBSplineSurface_getParameterOfPoint(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, out double jarg3, out double jarg4)
static int OdDgBSplineSurface_deleteBoundary(HandleRef jarg1, UInt32 jarg2)
static void OdDgBSplineSurface_setFirstBoundaryIsHoleFlag(HandleRef jarg1, bool jarg2)
static int OdDgBSplineSurface_getNormal(HandleRef jarg1, double jarg2, double jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static bool OdDgBSplineSurface_subWorldDraw(HandleRef jarg1, HandleRef jarg2)