public void Trimming(int Degree, bool Periodic, TColStd_Array1OfReal Knots, TColStd_Array1OfInteger Mults, TColgp_Array1OfPnt2d Poles, TColStd_Array1OfReal Weights, double U1, double U2, TColStd_Array1OfReal NewKnots, TColStd_Array1OfInteger NewMults, TColgp_Array1OfPnt2d NewPoles, TColStd_Array1OfReal NewWeights) { throw new NotImplementedException(); }
public void InsertKnots(int Degree, bool Periodic, TColgp_Array1OfPnt2d Poles, TColStd_Array1OfReal Weights, TColStd_Array1OfReal Knots, TColStd_Array1OfInteger Mults, TColStd_Array1OfReal AddKnots, TColStd_Array1OfInteger AddMults, TColgp_Array1OfPnt2d NewPoles, TColStd_Array1OfReal NewWeights, TColStd_Array1OfReal NewKnots, TColStd_Array1OfInteger NewMults, double Epsilon) { throw new NotImplementedException(); }
public void MergeBSplineKnots(double Tolerance, double StartValue, double EndValue, int Degree1, TColStd_Array1OfReal Knots1, TColStd_Array1OfInteger Mults1, int Degree2, TColStd_Array1OfReal Knots2, TColStd_Array1OfInteger Mults2, ref int NumPoles, TColStd_HArray1OfReal NewKnots, TColStd_HArray1OfInteger NewMults) { throw new NotImplementedException(); }
public void InsertKnots(int Degree, bool Periodic, int Dimension, TColStd_Array1OfReal Poles, TColStd_Array1OfReal Knots, TColStd_Array1OfInteger Mults, TColStd_Array1OfReal AddKnots, TColStd_Array1OfInteger AddMults, TColStd_Array1OfReal NewPoles, TColStd_Array1OfReal NewKnots, TColStd_Array1OfInteger NewMults, double Epsilon, bool Add) { throw new NotImplementedException(); }
public void DN(double U, double V, int Nu, int Nv, int UIndex, int VIndex, TColgp_Array2OfPnt Poles, TColStd_Array2OfReal Weights, TColStd_Array1OfReal UKnots, TColStd_Array1OfReal VKnots, TColStd_Array1OfInteger UMults, TColStd_Array1OfInteger VMults, int UDegree, int VDegree, bool URat, bool VRat, bool UPer, bool VPer, gp_Vec Vn) { throw new NotImplementedException(); }
public AppDef_ParLeastSquareOfTheGradient(AppDef_MultiLine SSP, TColStd_Array1OfReal Knots, TColStd_Array1OfInteger Mults, int FirstPoint, int LastPoint, AppParCurves_Constraint FirstCons, AppParCurves_Constraint LastCons, Vector Parameters, int NbPol) : base() { throw new NotImplementedException(); }
public void IncreaseDegree(bool UDirection, int Degree, int NewDegree, bool Periodic, TColgp_Array2OfPnt Poles, TColStd_Array2OfReal Weights, TColStd_Array1OfReal Knots, TColStd_Array1OfInteger Mults, TColgp_Array2OfPnt NewPoles, TColStd_Array2OfReal NewWeights, TColStd_Array1OfReal NewKnots, TColStd_Array1OfInteger NewMults) { throw new NotImplementedException(); }
public void Resolution(TColgp_Array2OfPnt Poles, TColStd_Array2OfReal Weights, TColStd_Array1OfReal UKnots, TColStd_Array1OfReal VKnots, TColStd_Array1OfInteger UMults, TColStd_Array1OfInteger VMults, int UDegree, int VDegree, bool URat, bool VRat, bool UPer, bool VPer, double Tolerance3D, ref double UTolerance, ref double VTolerance) { throw new NotImplementedException(); }
public bool RemoveKnot(bool UDirection, int Index, int Mult, int Degree, bool Periodic, TColgp_Array2OfPnt Poles, TColStd_Array2OfReal Weights, TColStd_Array1OfReal Knots, TColStd_Array1OfInteger Mults, TColgp_Array2OfPnt NewPoles, TColStd_Array2OfReal NewWeights, TColStd_Array1OfReal NewKnots, TColStd_Array1OfInteger NewMults, double Tolerance) { throw new NotImplementedException(); }
public AppDef_MyBSplGradientOfBSplineCompute(AppDef_MultiLine SSP, int FirstPoint, int LastPoint, AppParCurves_HArray1OfConstraintCouple TheConstraints, Vector Parameters, TColStd_Array1OfReal Knots, TColStd_Array1OfInteger Mults, int Deg, double Tol3d, double Tol2d) : base() { throw new NotImplementedException(); }
public Geom_BSplineSurface(TColgp_Array2OfPnt Poles, TColStd_Array2OfReal Weights, TColStd_Array1OfReal UKnots, TColStd_Array1OfReal VKnots, TColStd_Array1OfInteger UMults, TColStd_Array1OfInteger VMults, int UDegree, int VDegree) : base() { throw new NotImplementedException(); }
public AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute(AppDef_MultiLine SSP, TColStd_Array1OfReal Knots, TColStd_Array1OfInteger Mults, int FirstPoint, int LastPoint, AppParCurves_Constraint FirstCons, AppParCurves_Constraint LastCons, int NbPol) : base() { throw new NotImplementedException(); }
public void HomogeneousD0(double U, double V, int UIndex, int VIndex, TColgp_Array2OfPnt Poles, TColStd_Array2OfReal Weights, TColStd_Array1OfReal UKnots, TColStd_Array1OfReal VKnots, TColStd_Array1OfInteger UMults, TColStd_Array1OfInteger VMults, int UDegree, int VDegree, bool URat, bool VRat, bool UPer, bool VPer, ref double W, gp_Pnt P) { throw new NotImplementedException(); }
public void FunctionMultiply(BSplSLib_EvaluatorFunction Function, int UBSplineDegree, int VBSplineDegree, TColStd_Array1OfReal UBSplineKnots, TColStd_Array1OfReal VBSplineKnots, TColStd_Array1OfInteger UMults, TColStd_Array1OfInteger VMults, TColgp_Array2OfPnt Poles, TColStd_Array2OfReal Weights, TColStd_Array1OfReal UFlatKnots, TColStd_Array1OfReal VFlatKnots, int UNewDegree, int VNewDegree, TColgp_Array2OfPnt NewNumerator, TColStd_Array2OfReal NewDenominator, ref int theStatus) { throw new NotImplementedException(); }
public Convert_CompPolynomialToPoles(int NumCurves, int Dimension, int MaxDegree, TColStd_Array1OfInteger Continuity, TColStd_Array1OfInteger NumCoeffPerCurve, TColStd_Array1OfReal Coefficients, TColStd_Array2OfReal PolynomialIntervals, TColStd_Array1OfReal TrueIntervals) : base() { throw new NotImplementedException(); }
public void Approximation(int TotalDimension, int TotalNumSS, TColStd_Array1OfInteger LocalDimension, double First, double Last, AdvApprox_EvaluatorFunction Evaluator, AdvApprox_Cutting CutTool, int ContinuityOrder, int NumMaxCoeffs, int MaxSegments, TColStd_Array1OfReal TolerancesArray, int code_prec_is, ref int NumCurves, TColStd_Array1OfInteger NumCoeffPerCurveArray, TColStd_Array1OfReal LocalCoefficientArray, TColStd_Array1OfReal IntervalsArray, TColStd_Array1OfReal ErrorMaxArray, TColStd_Array1OfReal AverageErrorArray, ref int ErrorCode) { throw new NotImplementedException(); }
//-------------------------------------------------------------------------------------------------- void _ImportSplineWithControlPoints(DxfDomSpline dxfSpline) { // Copy control points var poleCount = dxfSpline.ControlPoints.Length; var poles = new TColgp_Array1OfPnt2d(1, poleCount); var weights = dxfSpline.Weights != null ? new TColStd_Array1OfReal(1, poleCount) : null; for (int i = 0; i < poleCount; i++) { poles.SetValue(i + 1, dxfSpline.ControlPoints[i]); weights?.SetValue(i + 1, dxfSpline.Weights[i]); } // Count multiplicities and compact knot list var knotList = new List <double>(); var multList = new List <int>(); var lastKnot = double.NaN; foreach (var knot in dxfSpline.Knots) { if (lastKnot != knot) { knotList.Add(knot); lastKnot = knot; multList.Add(1); } else { multList[multList.Count - 1]++; } } // Copy knots and multiplicities var knotCount = knotList.Count; var knots = new TColStd_Array1OfReal(1, knotCount); var mults = new TColStd_Array1OfInteger(1, knotCount); for (int i = 0; i < knotCount; i++) { knots.SetValue(i + 1, knotList[i]); mults.SetValue(i + 1, multList[i]); } // Create spline var spline = weights != null ? new Geom2d_BSplineCurve(poles, weights, knots, mults, dxfSpline.Degree, dxfSpline.Flags.Has(DxfDomSpline.SplineFlags.IsClosed)) : new Geom2d_BSplineCurve(poles, knots, mults, dxfSpline.Degree, dxfSpline.Flags.Has(DxfDomSpline.SplineFlags.IsClosed)); _AddBSplineCurve(spline); }
public void Curve2d(int Index, TColgp_Array1OfPnt2d TPoles, TColStd_Array1OfReal TKnots, TColStd_Array1OfInteger TMults) { throw new NotImplementedException(); }
public void Surface(TColgp_Array2OfPnt TPoles, TColStd_Array2OfReal TWeights, TColStd_Array1OfReal TUKnots, TColStd_Array1OfReal TVKnots, TColStd_Array1OfInteger TUMults, TColStd_Array1OfInteger TVMults) { throw new NotImplementedException(); }
public void SetMultiplicities(TColStd_Array1OfInteger theMults) { throw new NotImplementedException(); }
public AppParCurves_MultiBSpCurve(AppParCurves_MultiCurve SC, TColStd_Array1OfReal Knots, TColStd_Array1OfInteger Mults) : base() { throw new NotImplementedException(); }
public void Perform(AppDef_MultiLine SSP, int FirstPoint, int LastPoint, AppParCurves_HArray1OfConstraintCouple TheConstraints, Vector Parameters, TColStd_Array1OfReal Knots, TColStd_Array1OfInteger Mults, int Deg, double Tol3d, double Tol2d) { throw new NotImplementedException(); }
public void VMultiplicities(TColStd_Array1OfInteger Mv) { throw new NotImplementedException(); }
public void InsertVKnots(TColStd_Array1OfReal Knots, TColStd_Array1OfInteger Mults) { throw new NotImplementedException(); }
public Geom_BSplineCurve(TColgp_Array1OfPnt Poles, TColStd_Array1OfReal Weights, TColStd_Array1OfReal Knots, TColStd_Array1OfInteger Multiplicities, int Degree) : base() { throw new NotImplementedException(); }
public GeomInt_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfWLApprox(GeomInt_TheMultiLineOfWLApprox SSP, TColStd_Array1OfReal Knots, TColStd_Array1OfInteger Mults, int FirstPoint, int LastPoint, AppParCurves_Constraint FirstCons, AppParCurves_Constraint LastCons, int NbPol) : base() { throw new NotImplementedException(); }
public void Splitting(TColStd_Array1OfInteger SplitValues) { throw new NotImplementedException(); }
public void InsertVKnots(TColStd_Array1OfReal Knots, TColStd_Array1OfInteger Mults, double ParametricTolerance) { throw new NotImplementedException(); }
public void Mults(TColStd_Array1OfInteger TMults) { throw new NotImplementedException(); }
public void Iso(double Param, bool IsU, TColgp_Array2OfPnt Poles, TColStd_Array2OfReal Weights, TColStd_Array1OfReal Knots, TColStd_Array1OfInteger Mults, int Degree, bool Periodic, TColgp_Array1OfPnt CPoles, TColStd_Array1OfReal CWeights) { throw new NotImplementedException(); }