Bound

June 1, 2023 ยท View on GitHub

from tdw.object_data.bound import Bound

Bounds data for a single object.


Fields

  • front The position of the front point.

  • back The position of the back point.

  • left The position of the left point.

  • right The position of the right point.

  • top The position of the top point.

  • bottom The position of the bottom point.

  • center The position of the center point.


Functions

__init__

Bound(front, back, left, right, top, bottom, center)

ParameterTypeDefaultDescription
frontnp.ndarrayThe position of the front point.
backnp.ndarrayThe position of the back point.
leftnp.ndarrayThe position of the left point.
rightnp.ndarrayThe position of the right point.
topnp.ndarrayThe position of the top point.
bottomnp.ndarrayThe position of the bottom point.
centernp.ndarrayThe position of the center point.