Urho.BoundingBox Structure

3D bounding box

See Also: BoundingBox

Syntax

public struct BoundingBox

Remarks

A 3D-space bounding box with two 3D-vector properties, one for the minimal value (BoundingBox.Min), and one for the maximum value (BoundingBox.Max).

Requirements

Namespace: Urho
Assembly: Urho (in Urho.dll)
Assembly Versions: 1.0.0.0

The members of Urho.BoundingBox are listed below.

See Also: ValueType

Public Constructors

Construct from minimum and maximum floats (all dimensions same.)
Construct from minimum and maximum vectors.

Public Fields

DummyMaxSingle. Unused, used for structure field padding.
DummyMinSingle. Unused, used for structure field padding.
MaxVector3. Maximum vector
MinVector3. Minimum vector.

Public Properties

[read-only]
CenterVector3. Returns the center of the bounding box.
[read-only]
HalfSizeVector3. Return the half-size of the bounding box.
[read-only]
SizeVector3. The size of the bounding box, the Max minus the Min.

Public Methods

Defined() : Boolean
Return true if this bounding box is defined via a previous call to Define() or Merge().
IsInside(BoundingBox) : Intersection
Test if another bounding box is inside, outside or intersects.
IsInside(Vector3) : Intersection
Test if a point is  inside, outside or intersects the bounding box.
IsInsideFast(BoundingBox) : Intersection
Test if another bounding box is inside or outside/intersects.
Merge(BoundingBox)
Merge another bounding box with this one.
Merge(Vector3)