乐筑天下

搜索
欢迎各位开发者和用户入驻本平台 尊重版权,从我做起,拒绝盗版,拒绝倒卖 签到、发布资源、邀请好友注册,可以获得银币 请注意保管好自己的密码,避免账户资金被盗
查看: 25|回复: 2

请问:如何旋转AcDb2dPolyline类型的实体

[复制链接]

12

主题

54

帖子

1

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
102
发表于 2005-6-14 21:53:00 | 显示全部楼层 |阅读模式
如题,
我在编程序时遇到对一个AcDb2dPolyline实体进行旋转地情况,可是transformBy函数不能用,有哪位高手做过相关的工作烦劳指点菜鸟一下,谢谢
回复

使用道具 举报

124

主题

837

帖子

9

银币

顶梁支柱

Rank: 50Rank: 50

铜币
1333
发表于 2005-6-14 22:52:00 | 显示全部楼层
回复

使用道具 举报

12

主题

54

帖子

1

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
102
发表于 2005-6-14 23:36:00 | 显示全部楼层
那个函数我也有,不过transformBy()函数只适合于, , , 外的实体类型的操作下面是对这个函数的帮助文档
This function provides a means by which AutoCAD and ObjectARX applications can ask the entity to apply a transformation matrix (xform) to itself.
Each entity class must implement this function, so restrictions on what types of transformations are supported are up to the implementor of the entity class. The AutoCAD built-in entity classes for entity types that existed before R13 (that is, all the classes listed in the header file dbents.h such as , , , , etc.) require that the transformation matrix represent a uniformly scaling orthogonal transformation (if it is not, then Acad::eCannotScaleNonUniformly will be returned). Other AutoCAD built-in classes have no restrictions.
怎么办,里面说了这四种类型的实体都不行,请问我改怎么做,望高手指点
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

QQ|关于我们|小黑屋|乐筑天下 繁体中文

GMT+8, 2025-2-5 10:53 , Processed in 0.230319 second(s), 58 queries .

© 2020-2025 乐筑天下

联系客服 关注微信 帮助中心 下载APP 返回顶部 返回列表