inspect_topology_neighborhood_rdescriptor
类型: 函数
领域: 检查
推荐导入: from cadflow.inspect.brep import inspect_topology_neighborhood_rdescriptor
签名
def inspect_topology_neighborhood_rdescriptor(model_or_path: 'BRepModel | TopoDS_Shape | str | Path', entity_id: 'str', depth: 'int' = 1, max_entities: 'int' = 100) -> 'dict[str, Any]'
功能说明
inspect_topology_neighborhood_rdescriptor 是 CadFlow 检查领域的公共函数。
原始 API 说明
Return a deterministic, bounded breadth-first topology neighborhood.
参数
| 名称 | 类型 | 必需 | 默认值 | 源码说明 |
|---|---|---|---|---|
model_or_path | 'BRepModel | TopoDS_Shape | str | Path' | 是 | - | 源码 Docstring 未单独说明。 |
entity_id | 'str' | 是 | - | 源码 Docstring 未单独说明。 |
depth | 'int' | 否 | 1 | 源码 Docstring 未单独说明。 |
max_entities | 'int' | 否 | 100 | 源码 Docstring 未单独说明。 |
返回值
类型: 'dict[str, Any]'
源码 Docstring 未声明更多返回语义。
异常
源码 Docstring 未声明更窄的异常契约。类型、数值、所有权、路径或后端状态无效时,仍可能抛出相应公共异常。
行为与约束
- 以下契约由当前公共运行时签名生成;所有权与工作流限制见对应领域说明。
导入检查
from cadflow.inspect.brep import inspect_topology_neighborhood_rdescriptor