摘要
为获取鼠标按下点的造型空间坐标,利用造型空间和用户空间之间的坐标变换,基于VB实现精度可以控制的直线与圆柱体交点求解数值计算.给出鼠标在屏幕上按下点的造型空间坐标和2点间距离的计算方法.通过1个模型室界面,要求学生根据显示模型绘制三视图,训练学生测图和绘图.结果表明该方法效果较好.
To obtain the coordinates of mouse-down points of modeling space, the numerical computation on solving crossover points Of line and cylinder is implemented based on VB. The method uses the coordinate transformation between modeling space and users' space and can control the precision. The method on calculating the coordinates of mouse-down points of modeling space and the distance between the two points is proposed. To train the students to survey and draw graphics, a model room is given and the three-view drawing is demanded according to the displayed model. The results indicate that the method achieves better effect.
出处
《计算机辅助工程》
2008年第2期50-53,共4页
Computer Aided Engineering