z abstract method

double z(
  1. int index
)

The z coordinate of the position at the given index.

Returns zero if z is not available for a valid index. You can also use optZ that returns z coordinate as a nullable value.

For geographic coordinates z represents elevation or altitude.

The index must be a valid index in this series; 0 <= index < length.

Implementation

double z(int index);