几何尺寸与公差论坛

 找回密码
 注册
查看: 2541|回复: 3

How to get the boundary of any face rapidly?

[复制链接]
发表于 2007-5-20 09:53:19 | 显示全部楼层 |阅读模式
Q:
Subject: How to get the boundary of any face rapidly? SR:1-418663102


Dear,

How to get the boundary of any face rapidly?
Yogy
 楼主| 发表于 2007-5-20 09:53:37 | 显示全部楼层

回复: How to get the boundary of any face rapidly?

R:
Have a look at:



Face2.GetFirstLoop/Loop2.GetNext – This will give you a list of the loop boundaries

Loop2.GetFirstCoEdge/CoEdge.GetNext – This will give you a circular list of CoEdges

CoEdge.GetEdge – This will be your boundary edge





Regards,

-Earl
 楼主| 发表于 2007-5-20 13:35:47 | 显示全部楼层

回复: How to get the boundary of any face rapidly?

Q:
Earl
I don’t think so. Your mentioned way was more slowly to get the boundary of face after I compared between SolidWorks API and CATIA API.

I need get the boundary of facetedFace rapidly. How to get all vertexes of facetedFace via ITessellation interface?

Do you have any suggestions?
Yogy
 楼主| 发表于 2007-5-20 13:36:31 | 显示全部楼层

回复: How to get the boundary of any face rapidly?

R:
Hello Yanhua,



Sorry about the delay on this.  You could get the tessellation of a given face by calling Body2.GetTessellation and supply that one face as part of the argument array.  The resulting tessellation would be of that face alone.  If this is not working for you, then I will need to get an idea of what the application is that you need the boundary of a given face.





Regards,

-Earl
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-22 18:35 , Processed in 0.039483 second(s), 20 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表