ToCenterMatrix() public method

Get a matrix which can move points to origin
public ToCenterMatrix ( ) : Matrix4
return Matrix4
Exemplo n.º 1
0
 /// <summary>
 /// constructor
 /// </summary>
 /// <param name="profile">ProfileWall or ProfileFloor</param>
 public NewOpeningsForm(Profile profile)
     : this()
 {
     m_profile            = profile;
     m_to2DMatrix         = m_profile.To2DMatrix();
     m_moveToCenterMatrix = m_profile.ToCenterMatrix();
     InitTools();
 }
Exemplo n.º 2
0
 /// <summary>
 /// constructor
 /// </summary>
 /// <param name="profile">ProfileWall or ProfileFloor</param>
 public NewOpeningsForm(Profile profile)
     : this()
 {
     m_profile = profile;
     m_to2DMatrix = m_profile.To2DMatrix();
     m_moveToCenterMatrix = m_profile.ToCenterMatrix();
     InitTools();
 }