Example #1
0
 public void Init(Curve4Points cp)
 {
     Init(cp.c0, cp.c1,
          cp.c2, cp.c3,
          cp.c4, cp.c5,
          cp.c6, cp.c7);
 }
Example #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));
 }
Example #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));
 }
Example #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);
 }
Example #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));
 }
Example #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);
 }
Example #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);
 }
Example #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);
 }
Example #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);
 }
Example #10
0
 public void Init(Curve4Points cp)
 {
     Init(
             cp.c0, cp.c1,
             cp.c2, cp.c3,
             cp.c4, cp.c5,
             cp.c6, cp.c7);
 }
Example #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);
 }
Example #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);
 }
Example #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);
 }
Example #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);
 }