Landmark.z#

property Landmark.z: float#

The z-coordinate of an embedded vertex

Raises:

ValueError – the vertex has no coordinate

Returns:

The z-coordinate

Return type:

float

>>> from pgraph import Vertex
>>> v = Vertex(coord=[1,2,3], name='v1')
>>> print(v.z)
3