Indices#

class cegalprizm.pythontool.Indices(i, j, k)#

Represents a set of indices. For 3D objects, all indices are valid, but for 2D objects one will be None. Currently for a cegalprizm.pythontool.SeismicLine only j and k are valid; for a cegalprizm.pythontool.Surface only i and j are valid.

Functions

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Properties

i

Alias for field number 0

j

Alias for field number 1

k

Alias for field number 2

count(value, /)#

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)#

Return first index of value.

Raises ValueError if the value is not present.

i#

Alias for field number 0

j#

Alias for field number 1

k#

Alias for field number 2