shore.mesh.vertex
Vertex: corner descriptor for a structured block.
Vertex dataclass
python
Vertex(index: int, ijk: tuple[int, int, int], association: Association | None = None)One corner of a structured block.
Parameters
index— 0-based index within the block's vertex list.ijk—(i, j, k)corner indices intoblock.nodes. Use-1for the last index along an axis (standard Python convention).association— Geometry this corner is projected onto (ADR 0003), orNone.
Vertex.body_projected property
python
body_projected: boolTrue when associated with a whole body (legacy flag, read-only).
Vertex.coords method
python
coords(block: Block) -> np.ndarrayReturn the (3,) coordinate vector for this vertex.