public FairCurve_DistributionOfTension(int BSplOrder, TColStd_HArray1OfReal FlatKnots,
                                        TColgp_HArray1OfPnt2d Poles, int DerivativeOrder, double LengthSliding, FairCurve_BattenLaw Law,
                                        int NbValAux)
     : base()
 {
     throw new NotImplementedException();
 }
Example #2
0
        //--------------------------------------------------------------------------------------------------

        void _ImportSplineWithFitPoints(DxfDomSpline dxfSpline)
        {
            // Copy points
            var pointCount = dxfSpline.FitPoints.Length;
            var points     = new TColgp_HArray1OfPnt2d(1, pointCount);

            for (int i = 0; i < pointCount; i++)
            {
                points.SetValue(i + 1, dxfSpline.FitPoints[i]);
            }

            // Interpolate
            var algo = new Geom2dAPI_Interpolate(points, false, 0.001);

            if (dxfSpline.HasTangents)
            {
                algo.Load(dxfSpline.StartTangent, dxfSpline.EndTangent);
            }
            algo.Perform();
            if (!algo.IsDone())
            {
                Messages.Warning("DxfImporter: Cannot create spline through fit points.");
                return;
            }

            _AddBSplineCurve(algo.Curve());
        }
 public FairCurve_EnergyOfMVC(int BSplOrder, TColStd_HArray1OfReal FlatKnots, TColgp_HArray1OfPnt2d Poles,
                              int ContrOrder1, int ContrOrder2, FairCurve_BattenLaw Law, double PhysicalRatio, double LengthSliding,
                              bool FreeSliding)
     : base()
 {
     throw new NotImplementedException();
 }
 public FairCurve_DistributionOfEnergy(int BSplOrder, TColStd_HArray1OfReal FlatKnots,
                                       TColgp_HArray1OfPnt2d Poles, int DerivativeOrder)
     : base()
 {
     throw new NotImplementedException("Native class is abstract");
 }
 public GeomFill_PipeError ComputeAutomaticLaw(TColgp_HArray1OfPnt2d ParAndRad)
 {
     throw new NotImplementedException();
 }
 public Geom2dAPI_Interpolate(TColgp_HArray1OfPnt2d Points, TColStd_HArray1OfReal Parameters, bool PeriodicFlag,
                              double Tolerance)
     : base()
 {
     throw new NotImplementedException();
 }
 public void CheckPoints2d(TColgp_HArray1OfPnt2d points, TColStd_HArray1OfReal _params, ref double preci)
 {
     throw new NotImplementedException();
 }
 public Geom2d_Curve ApproximatePCurve(int nbrPnt, TColgp_HArray1OfPnt2d points2d, TColStd_HArray1OfReal _params,
                                       Geom_Curve orig)
 {
     throw new NotImplementedException();
 }
Example #9
0
 public void Init(TColgp_HArray1OfPnt2d Poles, TColStd_HArray1OfReal Weights)
 {
     throw new NotImplementedException();
 }
Example #10
0
 public FairCurve_DistributionOfJerk(int BSplOrder, TColStd_HArray1OfReal FlatKnots, TColgp_HArray1OfPnt2d Poles,
                                     int DerivativeOrder, FairCurve_BattenLaw Law)
     : base()
 {
     throw new NotImplementedException();
 }
 public FairCurve_Energy(TColgp_HArray1OfPnt2d Poles, int ConstrOrder1, int ConstrOrder2)
     : base()
 {
     throw new NotImplementedException("Native class is abstract");
 }
 public FairCurve_Energy(TColgp_HArray1OfPnt2d Poles, int ConstrOrder1, int ConstrOrder2, bool WithAuxValue,
                         double Angle1)
     : base()
 {
     throw new NotImplementedException("Native class is abstract");
 }