/// <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; }
public void Set(ni_t a) { }
/// <summary> /// Copy constructor. /// </summary> public ni_t(ni_t A) { Set(A); }
/// <summary> /// Converts a ni_t to a mv. /// </summary> public mv(ni_t A) { Set(A); }
/// <summary>shortcut to c3ga.op(this, b) /// </summary> public flatPoint op(ni_t b) { return(c3ga.op(this, b)); }
/// <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 ); }
/// <summary>shortcut to c3ga.op(this, b) /// </summary> public flatPoint op(ni_t b) { return c3ga.op(this, b); }