AnyCAD Rapid API 2024
Help you to create a better world!
|
Public 成员函数 | |
TopoShape | GetSolid () |
boolean | Initialize (TopoShape solid) |
TopoShapeList | GetEdges () |
int | GetEdgeCount () |
TopoShape | GetEdge (int idx) |
int | GetEdgeIndex (TopoShape edge) |
TopoShapeList | GetFaces () |
int | GetFaceCount () |
TopoShape | GetFace (int idx) |
int | GetFaceIndex (TopoShape face) |
TopoShapeList | GetSharedFaces (TopoShape edge) |
Int32List | GetSharedFaceIDs (TopoShape edge) |
Int32List | GetSharedFaceIDsByIndex (int edgeId) |
TopoShapeList | GetSharedEdges (TopoShape face1, TopoShape face2) |
Int32List | GetSharedEdgeIDs (TopoShape face1, TopoShape face2) |
<>
实体拓扑关系遍历辅助类,需要是Topo_SOLID类型的对象
TopoShape SolidExplor.GetEdge | ( | int | idx | ) |
获取某条边
idx | 边的索引 |
int SolidExplor.GetEdgeCount | ( | ) |
获取边的个数
int SolidExplor.GetEdgeIndex | ( | TopoShape | edge | ) |
获取边的索引
edge | 对象 |
TopoShapeList SolidExplor.GetEdges | ( | ) |
获取边的列表
TopoShape SolidExplor.GetFace | ( | int | idx | ) |
获取面对象
idx | 索引 |
int SolidExplor.GetFaceCount | ( | ) |
面的个数
int SolidExplor.GetFaceIndex | ( | TopoShape | face | ) |
获取面的索引
face | 对象 |
TopoShapeList SolidExplor.GetFaces | ( | ) |
获取面的列表
获取两个面的共边索引
face1 | 面对象1 |
face2 | 面对象2 |
TopoShapeList SolidExplor.GetSharedEdges | ( | TopoShape | face1, |
TopoShape | face2 ) |
获取两个面的共边
face1 | 面对象1 |
face2 | 面对象2 |
TopoShapeList SolidExplor.GetSharedFaces | ( | TopoShape | edge | ) |
获取共边的面
edge | 指定的边 |
boolean SolidExplor.Initialize | ( | TopoShape | solid | ) |
初始化.
solid | the solid to be explored. |