ToCenterMatrix() public method

Get a matrix which can move points to center
public ToCenterMatrix ( ) : Matrix4
return Matrix4
Esempio n. 1
0
 /// <summary>
 /// constructor
 /// </summary>
 /// <param name="profile">ProfileWall or ProfileFloor</param>
 public NewPathReinforcementForm(Profile profile)
     : this()
 {
     m_profile            = profile;
     m_to2DMatrix         = m_profile.To2DMatrix;
     m_moveToCenterMatrix = m_profile.ToCenterMatrix();
     m_tool           = new LineTool();
     this.KeyPreview  = true; //respond Form events first
     m_pointsPreview  = new List <List <XYZ> >();
     m_sizePictureBox = this.pictureBox.Size;
 }
Esempio n. 2
0
 /// <summary>
 /// constructor
 /// </summary>
 /// <param name="profile">ProfileWall or ProfileFloor</param>
 public NewPathReinforcementForm(Profile profile)
     : this()
 {
     m_profile = profile;
     m_to2DMatrix = m_profile.To2DMatrix;
     m_moveToCenterMatrix = m_profile.ToCenterMatrix();
     m_tool = new LineTool();
     this.KeyPreview = true; //respond Form events first
     m_pointsPreview = new List<List<XYZ>>();
     m_sizePictureBox = this.pictureBox.Size;
 }