Skip to content

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)

source

One corner of a structured block.

Parameters

  • index — 0-based index within the block's vertex list.
  • ijk — (i, j, k) corner indices into block.nodes. Use -1 for the last index along an axis (standard Python convention).
  • association — Geometry this corner is projected onto (ADR 0003), or None.

Vertex.body_projected property ​

python
body_projected: bool

source

True when associated with a whole body (legacy flag, read-only).

Vertex.coords method ​

python
coords(block: Block) -> np.ndarray

source

Return the (3,) coordinate vector for this vertex.

Released under the MIT License.