• 查询稿件
  • 获取最新论文
  • 知晓行业信息
王嗣策. 基于旋转矩阵的ZPW-2000A轨道电路结构图软件设计[J]. 铁路计算机应用, 2018, 27(11): 11-15.
引用本文: 王嗣策. 基于旋转矩阵的ZPW-2000A轨道电路结构图软件设计[J]. 铁路计算机应用, 2018, 27(11): 11-15.
WANG Sice. Software design for structure diagram of ZPW-2000A track circuit based on rotation matrix[J]. Railway Computer Application, 2018, 27(11): 11-15.
Citation: WANG Sice. Software design for structure diagram of ZPW-2000A track circuit based on rotation matrix[J]. Railway Computer Application, 2018, 27(11): 11-15.

基于旋转矩阵的ZPW-2000A轨道电路结构图软件设计

Software design for structure diagram of ZPW-2000A track circuit based on rotation matrix

  • 摘要: 利用旋转矩阵原理对组成三维模型的点阵坐标进行处理,得到其在不同旋转角度下的以显示屏为图纸的二维坐标。同时结合GDI+图形操作技术,对列车和钢轨的三维模型及ZPW-2000A型轨道电路结构图进行绘制。采用面向对象的方式将这些图形以及组成它们的点,线,面,封装成类。建立图形与数据的对应关系,将电路图的内容编写成Excel表格。通过C#编程语言实现表格的读取与写入操作,并根据表格提供的信息自动绘图。该软件能够显示列车在不同轨道区段上占用和出清组成的三维场景、轨道电路中相关继电器的状态及电流的路径。

     

    Abstract: The principle of rotation matrix was used to process the lattice of the three-dimension model and get the two-dimension coordinates of various rotation angles in the screen. Besides, GDI + graphics operation technology was applied to draw the three-dimension models of the train and the track, the structure diagram of ZPW-2000A track circuit. The object-oriented method was adopted to encapsulate the figures including points, lines and planes into classes. The relationship between graphics and data was established, and the contents of the circuit diagram were compiled into Excel forms. The table reading and writing operation was implemented by C# programming language.Automatic drawing was implemented according to the information provided in the table. The software can show the three-dimension scene of the train occupied and cleared in different track segments, the state of the relays in the track circuit and the path of the current.

     

/

返回文章
返回