Class: BoxVolume

x3dom.fields. BoxVolume

Represents a box volume (as internal helper).

Inheritance

  • BoxVolume

Constructor

BoxVolume()

BoxVolume constructor.


Methods

<static> copy(other) → {x3dom.fields.BoxVolume}

Box Volume Copy

Parameters:
Name Type Description
other

Returns:

equals(other) → {*}

Box Volume Equals

Parameters:
Name Type Description
other

Returns:

extendBounds(min, max)

Box Volume Extend Bounds

Parameters:
Name Type Description
min
max

getBounds(min, max)

Box Volume Get Bounds

Parameters:
Name Type Description
min
max

getCenter() → {*}

Box Volume Get Center

Returns:

getDiameter() → {number|*}

Box Volume Get Diameter

Returns:

getRadialVec() → {*}

Box Volume Get Radial Vector

Returns:

getScalarValue() → {number}

Box Volume Get Scalar Value

Returns:

invalidate()

Box Volume Invalidate

isValid() → {boolean}

Box Volume Is Valid?

Returns:

setBounds(min, max)

Box Volume Set Bounds

Parameters:
Name Type Description
min
max

setBoundsByCenterSize(center, size)

Box Volume Set Bounds By Center Size

Parameters:
Name Type Description
center
size

transform(m)

Box Volume Transform

Parameters:
Name Type Description
m

transformFrom(m, other)

Box Volume Transform Form

Parameters:
Name Type Description
m
other

updateInternals()

Box Volume Update Internals