码迷,mamicode.com
首页 > 其他好文 > 详细

旋转坐标系

时间:2020-02-20 10:29:30      阅读:108      评论:0      收藏:0      [点我收藏+]

标签:color   gre   mat   user   isp   旋转   ice   axis   service   

 

        Origin on WCS point: 0,0,6150
        Rotation of the Zaxis: -90 degrees
        Rotation of the Yaxis: 6 degrees
        Rotation of the Xaxis: 35 degrees
        Rotation of the Yaxis: -9- degrees
        Dim UCS As Matrix3d = Matrix3d.Identity * _
                              Matrix3d.Displacement(New Vector3d(0.0, 0.0, 6150.0)) * _
                              Matrix3d.Rotation(Math.PI / -2.0, Vector3d.ZAxis, Point3d.Origin) * _
                              Matrix3d.Rotation(Math.PI / 30.0, Vector3d.YAxis, Point3d.Origin) * _
                              Matrix3d.Rotation(7.0 * Math.PI / 36.0, Vector3d.XAxis, Point3d.Origin) * _
                              Matrix3d.Rotation(Math.PI / -20.0, Vector3d.YAxis, Point3d.Origin)

        Dim ed As Editor = ApplicationServices.Application.DocumentManager.MdiActiveDocument.Editor
        ed.CurrentUserCoordinateSystem = UCS

 

旋转坐标系

标签:color   gre   mat   user   isp   旋转   ice   axis   service   

原文地址:https://www.cnblogs.com/rf8862/p/12334295.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!