Example #1
0
 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();
 }
Example #2
0
 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();
 }
Example #3
0
 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();
 }
Example #4
0
 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();
 }
Example #5
0
 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();
 }
Example #7
0
 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();
 }
Example #8
0
 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();
 }
Example #9
0
 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();
 }
Example #11
0
 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();
 }
Example #12
0
 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();
 }
Example #13
0
 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();
 }
Example #14
0
 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();
 }
Example #15
0
 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();
 }
Example #16
0
 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();
 }
Example #17
0
        //--------------------------------------------------------------------------------------------------

        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);
        }
Example #18
0
 public void Curve2d(int Index, TColgp_Array1OfPnt2d TPoles, TColStd_Array1OfReal TKnots,
                     TColStd_Array1OfInteger TMults)
 {
     throw new NotImplementedException();
 }
Example #19
0
 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();
 }
Example #23
0
 public void VMultiplicities(TColStd_Array1OfInteger Mv)
 {
     throw new NotImplementedException();
 }
Example #24
0
 public void InsertVKnots(TColStd_Array1OfReal Knots, TColStd_Array1OfInteger Mults)
 {
     throw new NotImplementedException();
 }
Example #25
0
 public Geom_BSplineCurve(TColgp_Array1OfPnt Poles, TColStd_Array1OfReal Weights, TColStd_Array1OfReal Knots,
                          TColStd_Array1OfInteger Multiplicities, int Degree)
     : base()
 {
     throw new NotImplementedException();
 }
Example #26
0
 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();
 }
Example #27
0
 public void Splitting(TColStd_Array1OfInteger SplitValues)
 {
     throw new NotImplementedException();
 }
Example #28
0
 public void InsertVKnots(TColStd_Array1OfReal Knots, TColStd_Array1OfInteger Mults, double ParametricTolerance)
 {
     throw new NotImplementedException();
 }
Example #29
0
 public void Mults(TColStd_Array1OfInteger TMults)
 {
     throw new NotImplementedException();
 }
Example #30
0
 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();
 }