Exemple #1
0
 public void Init(Curve4Points cp)
 {
     Init(cp.c0, cp.c1,
          cp.c2, cp.c3,
          cp.c4, cp.c5,
          cp.c6, cp.c7);
 }
Exemple #2
0
 //-----------------------------------------------------------------------
 public static Curve4Points UbSplineToBezier(Curve4Points cp)
 {
     return(UbSplineToBezier(
                cp.c0, cp.c1,
                cp.c2, cp.c3,
                cp.c4, cp.c5,
                cp.c6, cp.c7));
 }
Exemple #3
0
 //-----------------------------------------------------------------------
 public static Curve4Points CatromToBezier(Curve4Points cp)
 {
     return(CatromToBezier(
                cp.c0, cp.c1,
                cp.c2, cp.c3,
                cp.c4, cp.c5,
                cp.c6, cp.c7));
 }
Exemple #4
0
 //-----------------------------------------------------------------------
 public static Curve4Points CatromToBezier(Curve4Points cp)
 {
     return CatromToBezier(
             cp.c0, cp.c1,
             cp.c2, cp.c3,
             cp.c4, cp.c5,
             cp.c6, cp.c7);
 }
Exemple #5
0
 //-----------------------------------------------------------------------
 public static Curve4Points HermiteToBezier(Curve4Points cp)
 {
     return(HermiteToBezier(
                cp.c0, cp.c1,
                cp.c2, cp.c3,
                cp.c4, cp.c5,
                cp.c6, cp.c7));
 }
Exemple #6
0
 public Curve4(Curve4Points cp)
 {
     m_approximation_method = Curves.CurveApproximationMethod.Div;
     Init(
         cp.c0, cp.c1,
         cp.c2, cp.c3,
         cp.c4, cp.c5,
         cp.c6, cp.c7);
 }
Exemple #7
0
 public Curve4Div(Curve4Points cp)
 {
     m_approximation_scale = (1.0);
     m_angle_tolerance     = (0.0);
     m_count = (0);
     Init(
         cp.c0, cp.c1,
         cp.c2, cp.c3,
         cp.c4, cp.c5,
         cp.c6, cp.c7);
 }
Exemple #8
0
 public Curve4Inc(Curve4Points cp)
 {
     m_num_steps = (0);
     m_step      = (0);
     m_scale     = (1.0);
     Init(
         cp.c0, cp.c1,
         cp.c2, cp.c3,
         cp.c4, cp.c5,
         cp.c6, cp.c7);
 }
Exemple #9
0
 //-----------------------------------------------------------------------
 public static Curve4Points UbSplineToBezier(Curve4Points cp)
 {
     return UbSplineToBezier(
             cp.c0, cp.c1,
             cp.c2, cp.c3,
             cp.c4, cp.c5,
             cp.c6, cp.c7);
 }
Exemple #10
0
 public void Init(Curve4Points cp)
 {
     Init(
             cp.c0, cp.c1,
             cp.c2, cp.c3,
             cp.c4, cp.c5,
             cp.c6, cp.c7);
 }
Exemple #11
0
 public Curve4Div(Curve4Points cp)
 {
     m_approximation_scale = (1.0);
     m_angle_tolerance = (0.0);
     m_count = (0);
     Init(
             cp.c0, cp.c1,
             cp.c2, cp.c3,
             cp.c4, cp.c5,
             cp.c6, cp.c7);
 }
Exemple #12
0
 public Curve4Inc(Curve4Points cp)
 {
     m_num_steps = (0);
     m_step = (0);
     m_scale = (1.0);
     Init(
             cp.c0, cp.c1,
             cp.c2, cp.c3,
             cp.c4, cp.c5,
             cp.c6, cp.c7);
 }
Exemple #13
0
 //-----------------------------------------------------------------------
 public static Curve4Points HermiteToBezier(Curve4Points cp)
 {
     return HermiteToBezier(
             cp.c0, cp.c1,
             cp.c2, cp.c3,
             cp.c4, cp.c5,
             cp.c6, cp.c7);
 }
Exemple #14
0
 public Curve4(Curve4Points cp)
 {
     m_approximation_method = Curves.CurveApproximationMethod.Div;
     Init(
             cp.c0, cp.c1,
             cp.c2, cp.c3,
             cp.c4, cp.c5,
             cp.c6, cp.c7);
 }