Extent#

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

The number of indices in each direction. Valid indices will be from 0 to i-1, 0 to j-1 and 0 to k-1. If an object does not have an extent in a certain direction, the value will be None.

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