User Tools

Site Tools


DzOrientedBox3

An oriented 3D box.

More...

Inherits :

Properties

Constructors

DAZ Script
DzOrientedBox3 ()
DzOrientedBox3 ( DzOrientedBox3 box )
DzOrientedBox3 ( DzMatrix3 transform )
DzOrientedBox3 ( DzBox3 box, DzMatrix3 transform )
DzOrientedBox3 ( DzBox3 box, DzVec3 translation, DzQuat rotation, DzVec3 scale )
DzOrientedBox3 ( DzVec3 translation, DzQuat rotation, DzVec3 scale )

Detailed Description

Represents a 3D box by storing two 3D vectors - an upper and lower corner for the box, and a transformation for its orientation.

Properties


DzBox3 : localBox

The box in 'local space' (without transforms applied)


DzMatrix3 : transform

The transform matrix of the box in 3D space

Constructors


DzOrientedBox3()

Constructor. Creates an uninitialized box with an identity transform - the first point included in an uninitialized box will become the min and max for the box.


DzOrientedBox3( DzOrientedBox3 box )

Copy constructor.

Parameter(s):

  • box - The box to copy from

DzOrientedBox3( DzMatrix3 transform )

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Creates an uninitialized box with the given transform - the first point included in an uninitialized box will become the min and max for the box.

Parameter(s):

  • transform - The transformation to apply to this box

DzOrientedBox3( DzBox3 box, DzMatrix3 transform )

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Creates an oriented box that is the given box with the given transform.

Parameter(s):

  • box - The box to copy from
  • transform - The transformation to apply to this box

DzOrientedBox3( DzBox3 box, DzVec3 translation, DzQuat rotation, DzVec3 scale )

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Creates an oriented box that is the given box with the given transform.

Parameter(s):

  • box - The box to copy from
  • translation - The translation to apply to this box
  • rotation - The rotation to apply to this box
  • scale - The scale to apply to this box

DzOrientedBox3( DzVec3 translation, DzQuat rotation, DzVec3 scale )

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Creates an uninitialized box with the given transform - the first point included in an uninitialized box will become the min and max for the box.

Parameter(s):

  • translation - The translation to apply to this box
  • rotation - The rotation to apply to this box
  • scale - The scale to apply to this box