hasZ property

bool hasZ

True if the geometry builder supports geometries with z values, false otherwise.

Z values are generally used as a z coordinate, indicating height or elevation. NaN is a valid z value. If true, z values are stored for each vertex of the constructed Geometry. Geometries with z values are created by using setters or constructors that take a z value as a parameter.

Implementation

bool get hasZ {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_GeometryBuilder_getHasZ(_handle, errorHandler);
  });
}