Exemple #1
0
        /// <summary>sets this to ni_t value.
        /// </summary>
        public void Set(ni_t src)
        {
            AllocateGroups(GroupBitmap.GROUP_1);
            float[] ptr;

            ptr    = m_c[1];
            ptr[0] = ptr[1] = ptr[2] = ptr[3] = 0.0f;
            ptr[4] = 1.0f;
        }
Exemple #2
0
 public void Set(ni_t a)
 {
 }
Exemple #3
0
 /// <summary>
 /// Copy constructor.
 /// </summary>
 public ni_t(ni_t A)
 {
     Set(A);
 }
Exemple #4
0
        /// <summary>sets this to ni_t value.
        /// </summary>
        public void Set(ni_t src)
        {
            AllocateGroups(GroupBitmap.GROUP_1);
            float[] ptr;

            ptr = m_c[1];
            ptr[0] = ptr[1] = ptr[2] = ptr[3] = 0.0f;
            ptr[4] = 1.0f;
        }
Exemple #5
0
 /// <summary>
 /// Converts a ni_t to a mv.
 /// </summary>
 public mv(ni_t A)
 {
     Set(A);
 }
Exemple #6
0
 /// <summary>
 /// Converts a ni_t to a mv.
 /// </summary>
 public mv(ni_t A)
 {
     Set(A);
 }
Exemple #7
0
 /// <summary>
 /// Copy constructor.
 /// </summary>
 public ni_t(ni_t A)
 {
     Set(A);
 }
Exemple #8
0
 public void Set(ni_t a)
 {
 }
Exemple #9
0
 /// <summary>shortcut to c3ga.op(this, b)
 /// </summary>
 public flatPoint op(ni_t b)
 {
     return(c3ga.op(this, b));
 }
Exemple #10
0
 /// <summary>Returns outer product of normalizedPoint and ni_t.
 /// </summary>
 public static flatPoint op(normalizedPoint a, ni_t b)
 {
     return new flatPoint(flatPoint.coord_e1ni_e2ni_e3ni_noni,
     a.m_c[0], // e1_ni
     a.m_c[1], // e2_ni
     a.m_c[2], // e3_ni
     1.0f // no_ni
     );
 }
Exemple #11
0
 /// <summary>shortcut to c3ga.op(this, b)
 /// </summary>
 public flatPoint op(ni_t b)
 {
     return c3ga.op(this, b);
 }