itasca.block.zone

Functions and classes for working with zones.

Functions

itasca.block.zone.containing(point: vec3, search_start=None) Zone object or None.

Get the zone that contains point. The optional argument search_start can be given to first search the a given zone. This can speed up the check.

itasca.block.zone.count() int.

Get the number of zones.

itasca.block.zone.find(id: int) Zone object.

Get the zone object with the given ID number.

itasca.block.zone.list() Zone iterator object.

Get a zone iterator object.

itasca.block.zone.maxid() int.

Get the maximum zone ID.

itasca.block.zone.near(point: vec) Zone object.

Find the closest zone to a point.

Classes