Class Index | File Index

## Classes

- _global_
- JSC3D
- JSC3D.AABB
- JSC3D.BinaryStream
- JSC3D.LoaderSelector
- JSC3D.Material
- JSC3D.Math3D
- JSC3D.Matrix3x4
- JSC3D.Mesh
- JSC3D.ObjLoader
- JSC3D.PickInfo
- JSC3D.Scene
- JSC3D.StlLoader
- JSC3D.Texture
- JSC3D.Viewer

# Class JSC3D.AABB

AABB This class implements the Axis-Aligned Bounding Box to measure spacial enclosure.
Defined in: jsc3d.js.

Class Summary
Constructor Attributes | Constructor Name and Description
--- | ---
| JSC3D.AABB()

Method Summary
Method Attributes | Method Name and Description
--- | ---
| center() Get the center coordinates of the AABB.
| lengthOfDiagonal() Get the length of the diagonal of the AABB.

Class Detail
JSC3D.AABB()
Method Detail
{Array} center()
Get the center coordinates of the AABB.

Returns:
  {Array} center coordinates as an array.

{Number} lengthOfDiagonal()
Get the length of the diagonal of the AABB.

Returns:
  {Number} length of the diagonal.

Documentation generated by JsDoc Toolkit 2.1.0 on Thu Nov 28 2013 14:35:14 GMT+0800 (CST)