Exemplo n.º 1
0
 public Curve4Inc(Curve4Points <T> cp)
 {
     m_num_steps = (0);
     m_step      = (0);
     m_scale     = (M.One <T>());
     Init(cp[0], cp[1], cp[2], cp[3], cp[4], cp[5], cp[6], cp[7]);
 }
Exemplo n.º 2
0
 public Curve4Div(Curve4Points <T> cp)
 {
     m_approximation_scale = (M.One <T>());
     m_angle_tolerance     = (M.Zero <T>());
     m_count = (0);
     Init(cp[0], cp[1], cp[2], cp[3], cp[4], cp[5], cp[6], cp[7]);
 }
Exemplo n.º 3
0
 //-----------------------------------------------------------------------
 public static Curve4Points <T> CatromToBezier <T>(Curve4Points <T> cp)
     where T : IEquatable <T>, IComparable <T>, IComputable <T>, IConvertible, IFormattable, ICommonNumericalOperations <T>, ITrigonometricOperations <T>
 {
     return(CatromToBezier(cp[0], cp[1], cp[2], cp[3],
                           cp[4], cp[5], cp[6], cp[7]));
 }
Exemplo n.º 4
0
 public void Init(Curve4Points <T> cp)
 {
     Init(cp[0], cp[1], cp[2], cp[3], cp[4], cp[5], cp[6], cp[7]);
 }
Exemplo n.º 5
0
 public Curve4(Curve4Points <T> cp)
 {
     m_approximation_method = ApproximationMethod.Div;
     Init(cp[0], cp[1], cp[2], cp[3], cp[4], cp[5], cp[6], cp[7]);
 }