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);
46 public OdGeNurbSurface(
int degreeInU,
int degreeInV,
int propsInU,
int propsInV,
int numControlPointsInU,
int numControlPointsInV,
OdGePoint3dArray controlPoints,
OdGeDoubleArray weights,
OdGeKnotVector uKnots,
OdGeKnotVector vKnots,
OdGeTol tol) : this(
GlobalsPINVOKE.new_OdGeNurbSurface__SWIG_1(
degreeInU,
degreeInV, propsInU, propsInV,
numControlPointsInU,
numControlPointsInV,
OdGePoint3dArray.
getCPtr(controlPoints),
OdGeDoubleArray.
getCPtr(weights),
OdGeKnotVector.
getCPtr(uKnots),
OdGeKnotVector.
getCPtr(vKnots),
OdGeTol.
getCPtr(tol)), true) {
50 public OdGeNurbSurface(
int degreeInU,
int degreeInV,
int propsInU,
int propsInV,
int numControlPointsInU,
int numControlPointsInV,
OdGePoint3dArray controlPoints,
OdGeDoubleArray weights,
OdGeKnotVector uKnots,
OdGeKnotVector vKnots) : this(
GlobalsPINVOKE.new_OdGeNurbSurface__SWIG_2(
degreeInU,
degreeInV, propsInU, propsInV,
numControlPointsInU,
numControlPointsInV,
OdGePoint3dArray.
getCPtr(controlPoints),
OdGeDoubleArray.
getCPtr(weights),
OdGeKnotVector.
getCPtr(uKnots),
OdGeKnotVector.
getCPtr(vKnots)), true) {
166 GlobalsPINVOKE.
OdGeNurbSurface_getDefinition(swigCPtr, out
degreeInU, out
degreeInV, out propsInU, out propsInV, out
numControlPointsInU, out
numControlPointsInV,
OdGePoint3dArray.
getCPtr(controlPoints),
OdGeDoubleArray.
getCPtr(weights),
OdGeKnotVector.
getCPtr(uKnots),
OdGeKnotVector.
getCPtr(vKnots));
170 public OdGeNurbSurface set(
int degreeInU,
int degreeInV,
int propsInU,
int propsInV,
int numControlPointsInU,
int numControlPointsInV,
OdGePoint3dArray controlPoints,
OdGeDoubleArray weights,
OdGeKnotVector uKnots,
OdGeKnotVector vKnots,
OdGeTol tol) {
171 OdGeNurbSurface ret =
new OdGeNurbSurface(
GlobalsPINVOKE.
OdGeNurbSurface_set__SWIG_0(swigCPtr,
degreeInU,
degreeInV, propsInU, propsInV,
numControlPointsInU,
numControlPointsInV,
OdGePoint3dArray.
getCPtr(controlPoints),
OdGeDoubleArray.
getCPtr(weights),
OdGeKnotVector.
getCPtr(uKnots),
OdGeKnotVector.
getCPtr(vKnots),
OdGeTol.
getCPtr(tol)),
false);
177 OdGeNurbSurface ret =
new OdGeNurbSurface(
GlobalsPINVOKE.
OdGeNurbSurface_set__SWIG_1(swigCPtr,
degreeInU,
degreeInV, propsInU, propsInV,
numControlPointsInU,
numControlPointsInV,
OdGePoint3dArray.
getCPtr(controlPoints),
OdGeDoubleArray.
getCPtr(weights),
OdGeKnotVector.
getCPtr(uKnots),
OdGeKnotVector.
getCPtr(vKnots)),
false);
210 public int loc(
int i,
int j) {
288 public double knotAt(
bool iByU,
int iKnotIndex) {
static global::System.Exception Retrieve()
static global::System.IntPtr OdGeNurbSurface_set__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, int jarg4, int jarg5, int jarg6, int jarg7, global::System.Runtime.InteropServices.HandleRef 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 global::System.IntPtr OdGeNurbSurface_convertFrom__SWIG_4(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_OdGeNurbSurface(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGeNurbSurface_getUKnots(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdGeNurbSurface_degreeInU(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeNurbSurface_convertFrom__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, bool jarg4)
static global::System.IntPtr OdGeNurbSurface_setControlPointAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static int OdGeNurbSurface_numControlPointsInU(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeNurbSurface_insertKnot__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2, double jarg3)
static bool OdGeNurbSurface_getDerivativesAtWr(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, UInt32 jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static int OdGeNurbSurface_numKnotsInV(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGeNurbSurface_getDefinition(global::System.Runtime.InteropServices.HandleRef jarg1, out int jarg2, out int jarg3, out int jarg4, out int jarg5, out int jarg6, out int jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, global::System.Runtime.InteropServices.HandleRef jarg9, global::System.Runtime.InteropServices.HandleRef jarg10, global::System.Runtime.InteropServices.HandleRef jarg11)
static bool OdGeNurbSurface_isRationalInV(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdGeNurbSurface_singularityInU(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGeNurbSurface_knotAt(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2, int jarg3)
static void OdGeNurbSurface_computeVIsoLine(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdGeNurbSurface_numControlPointsInV(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeNurbSurface_convertFrom__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeNurbSurface_paramOfPrec__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdGeNurbSurface_getVKnots(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeNurbSurface_joinWith__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, int jarg4)
static int OdGeNurbSurface_numKnotsInU(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGeNurbSurface_getControlPoints(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeNurbSurface_convertFrom__SWIG_5(HandleRef jarg1)
static bool OdGeNurbSurface_getWeights(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdGeNurbSurface_loc(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
static global::System.IntPtr OdGeNurbSurface_insertKnot__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2, double jarg3, int jarg4)
static global::System.IntPtr OdGeNurbSurface_controlPointAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
static bool OdGeNurbSurface_isPeriodicInV(global::System.Runtime.InteropServices.HandleRef jarg1, out double jarg2)
static global::System.IntPtr OdGeNurbSurface_setFitData(global::System.Runtime.InteropServices.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, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8)
static int OdGeNurbSurface_singularityInV(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeNurbSurface_joinWith__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static global::System.IntPtr OdGeNurbSurface_convertFrom__SWIG_3(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3)
static bool OdGeNurbSurface_isPeriodicInU(global::System.Runtime.InteropServices.HandleRef jarg1, out double jarg2)
static int OdGeNurbSurface_degreeInV(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeNurbSurface_set__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, int jarg4, int jarg5, int jarg6, int jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, global::System.Runtime.InteropServices.HandleRef jarg9, global::System.Runtime.InteropServices.HandleRef jarg10, global::System.Runtime.InteropServices.HandleRef jarg11)
static bool OdGeNurbSurface_isRationalInU(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGeNurbSurface_computeUIsoLine(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeNurbSurface_paramOfPrec__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeNurbSurface_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeNurbSurface_convertFrom__SWIG_2(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeNurbSurface_elevateDegree(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2, int jarg3)
static HandleRef getCPtr(OdGeDoubleArray obj)
static HandleRef getCPtr(OdGeKnotVector obj)
static HandleRef getCPtr(OdGeNurbCurve3d obj)
static OdGeNurbSurface convertFrom(OdGeSurface source)
OdGeNurbSurface(OdGeEllipCylinder cylinder)
static OdGeNurbSurface convertFrom(OdGeSurface source, OdGeTol tol, bool sameParametrization)
bool isPeriodicInU(out double period)
static OdGeNurbSurface convertFrom(OdGeSurface source, OdGeUvBox domain, OdGeTol tol)
Teigha.Core.OdGe.EntityId vb_type()
OdGeNurbSurface setFitData(OdGePoint3dArray fitPoints, OdGeVector3dArray arrTangentsInU, OdGeVector3dArray arrTangentsInV, OdGeVector3dArray arrMixedDerivs, OdGeKnotVector uKnots, OdGeKnotVector vKnots, OdGeTol tol)
override void Dispose(bool disposing)
void getUKnots(OdGeKnotVector uKnots)
static HandleRef getCPtr(OdGeNurbSurface obj)
int numControlPointsInU()
OdGeNurbSurface joinWith(OdGeNurbSurface surface, OdGeNurbSurface.ConnectionSide thisConnectionSide, OdGeNurbSurface.ConnectionSide surfaceConnectionSide, OdGeTol tol)
OdGeNurbSurface elevateDegree(bool iByU, int iPlusDegree)
static OdGeNurbSurface convertFrom(OdGeSurface source, OdGeTol tol)
OdGeNurbSurface insertKnot(bool iByU, double iNewKnot)
int numControlPointsInV()
OdGePoint2d paramOfPrec(OdGePoint3d point, OdGeTol tol)
OdGeNurbSurface(int degreeInU, int degreeInV, int propsInU, int propsInV, int numControlPointsInU, int numControlPointsInV, OdGePoint3dArray controlPoints, OdGeDoubleArray weights, OdGeKnotVector uKnots, OdGeKnotVector vKnots)
void getVKnots(OdGeKnotVector vKnots)
void computeVIsoLine(double V, OdGeNurbCurve3d isoline)
OdGeNurbSurface joinWith(OdGeNurbSurface surface, OdGeNurbSurface.ConnectionSide thisConnectionSide, OdGeNurbSurface.ConnectionSide surfaceConnectionSide)
OdGeNurbSurface(IntPtr cPtr, bool cMemoryOwn)
OdGePoint2d paramOfPrec(OdGePoint3d point)
void computeUIsoLine(double U, OdGeNurbCurve3d isoline)
static OdGeNurbSurface convertFrom(OdGeSurface source, OdGeUvBox domain, OdGeTol tol, bool sameParametrization)
bool isPeriodicInV(out double period)
bool getWeights(OdGeDoubleArray weights)
static OdGeNurbSurface convertFrom(OdGeSurface source, OdGeUvBox domain)
void getControlPoints(OdGePoint3dArray controlPoints)
OdGeNurbSurface(OdGeEllipCone cone)
void getDefinition(out int degreeInU, out int degreeInV, out int propsInU, out int propsInV, out int numControlPointsInU, out int numControlPointsInV, OdGePoint3dArray controlPoints, OdGeDoubleArray weights, OdGeKnotVector uKnots, OdGeKnotVector vKnots)
OdGeNurbSurface(int degreeInU, int degreeInV, int propsInU, int propsInV, int numControlPointsInU, int numControlPointsInV, OdGePoint3dArray controlPoints, OdGeDoubleArray weights, OdGeKnotVector uKnots, OdGeKnotVector vKnots, OdGeTol tol)
OdGeNurbSurface insertKnot(bool iByU, double iNewKnot, int iTimes)
OdGeNurbSurface(OdGeNurbSurface source)
bool getDerivativesAtWr(OdGePoint2d param, UInt32 numDeriv, VectorDerivArrayWr derivatives)
OdGePoint3d controlPointAt(int iIdxU, int iIdxV)
OdGeNurbSurface setControlPointAt(int iIdxU, int iIdxV, OdGePoint3d iPoint)
double knotAt(bool iByU, int iKnotIndex)
OdGeNurbSurface Assign(OdGeNurbSurface nurb)
static HandleRef getCPtr(OdGePoint2d obj)
static HandleRef getCPtr(OdGePoint3dArray obj)
static HandleRef getCPtr(OdGePoint3d obj)
static HandleRef getCPtr(OdGeSurface obj)
static HandleRef getCPtr(OdGeTol obj)
static HandleRef getCPtr(OdGeUvBox obj)
static HandleRef getCPtr(OdGeVector3dArray obj)
static HandleRef getCPtr(VectorDerivArrayWr obj)