To2DMatrix() public method

Get a matrix which can transform points to 2D
public To2DMatrix ( ) : Matrix4
return Matrix4
示例#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();
 }
示例#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();
 }