ToCenterMatrix() 공개 메소드

Get a matrix which can move points to origin
public ToCenterMatrix ( ) : Matrix4
리턴 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();
 }