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