## `geomUtils.Obb` 类型

### Details

meta description

meta description

meta description

meta description

#### 方法

##### create

meta description

###### 参数列表
• `cx` Number X coordinates of the shape relative to the origin.
• `cy` Number Y coordinates of the shape relative to the origin.
• `cz` Number Z coordinates of the shape relative to the origin.
• `hw` Number Obb is half the width.
• `hh` Number Obb is half the height.
• `hl` Number Obb is half the Length.
• `ox_1` Number Direction matrix parameter.
• `ox_2` Number Direction matrix parameter.
• `ox_3` Number Direction matrix parameter.
• `oy_1` Number Direction matrix parameter.
• `oy_2` Number Direction matrix parameter.
• `oy_3` Number Direction matrix parameter.
• `oz_1` Number Direction matrix parameter.
• `oz_2` Number Direction matrix parameter.
• `oz_3` Number Direction matrix parameter.
##### clone

meta description

###### 参数列表
• `a` Obb The target of cloning.
##### copy

meta description

###### 参数列表
• `out` Obb Obb that accepts the operation.
• `a` Obb Obb being copied.
##### fromPoints

meta description

###### 参数列表
• `out` Obb Obb that accepts the operation.
• `minPos` Vec3 The smallest point of obb.
• `maxPos` Vec3 Obb's maximum point.
##### set

meta description

###### 参数列表
• `cx` Number X coordinates of the shape relative to the origin.
• `cy` Number Y coordinates of the shape relative to the origin.
• `cz` Number Z coordinates of the shape relative to the origin.
• `hw` Number Obb is half the width.
• `hh` Number Obb is half the height.
• `hl` Number Obb is half the Length.
• `ox_1` Number Direction matrix parameter.
• `ox_2` Number Direction matrix parameter.
• `ox_3` Number Direction matrix parameter.
• `oy_1` Number Direction matrix parameter.
• `oy_2` Number Direction matrix parameter.
• `oy_3` Number Direction matrix parameter.
• `oz_1` Number Direction matrix parameter.
• `oz_2` Number Direction matrix parameter.
• `oz_3` Number Direction matrix parameter.
##### getBoundary

meta description

###### 参数列表
• `minPos` Vec3
• `maxPos` Vec3
##### transform

meta description

###### 参数列表
• `m` Mat4 The transformation matrix.
• `pos` Vec3 The position part of the transformation.
• `rot` Quat The rotating part of the transformation.
• `scale` Vec3 The scaling part of the transformation.
• `out` Obb Target of transformation.
##### translateAndRotate

meta description

###### 参数列表
• `m` Mat4 The transformation matrix.
• `rot` Quat The rotating part of the transformation.
• `out` Obb Target of transformation.
##### setScale

meta description

###### 参数列表
• `scale` Vec3 Scale value.
• `out` Obb Scaled target.