Vertex
类型: 类
领域: 建模与几何
推荐导入: from cadflow import Vertex
签名
class Vertex(vertex: 'Any', cache: 'Optional[_TopologyEntityCache]' = None)
功能说明
Vertex 是 CadFlow 建模与几何领域的公共类。
原始 API 说明
OCP-native vertex wrapper with tag support.
参数
| 名称 | 类型 | 必需 | 默认值 | 源码说明 |
|---|---|---|---|---|
vertex | 'Any' | 是 | - | 源码 Docstring 未单独说明。 |
cache | 'Optional[_TopologyEntityCache]' | 否 | None | 源码 Docstring 未单独说明。 |
返回值
类型: Any
源码 Docstring 未声明更多返回语义。
异常
源码 Docstring 未声明更窄的异常契约。类型、数值、所有权、路径或后端状态无效时,仍可能抛出相应公共异常。
公共成员
| 成员 | 类型 | 签名 | 说明 |
|---|---|---|---|
get_coordinates | method | (self) -> 'Tuple[float, float, float]' | 见成员签名。 |
get_incident_edges | method | (self) -> "List['Edge']" | 见成员签名。 |
行为与约束
- 以下契约由当前公共运行时签名生成;所有权与工作流限制见对应领域说明。
导入检查
from cadflow import Vertex