Click or drag to resize
DigitalRuneBoxShapeGetAabb Method (Vector3F, Pose)
Computes the axis-aligned bounding box (AABB) for this shape positioned in world space using the given scale and Pose.

Namespace: DigitalRune.Geometry.Shapes
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public override Aabb GetAabb(
	Vector3F scale,
	Pose pose
)

Parameters

scale
Type: DigitalRune.Mathematics.AlgebraVector3F
The scale factor by which the shape should be scaled. The scaling is applied in the shape's local space before the pose is applied.
pose
Type: DigitalRune.GeometryPose
The Pose of the shape. This pose defines how the shape should be positioned in world space.

Return Value

Type: Aabb
The AABB of the shape positioned in world space.
Remarks

The AABB is axis-aligned to the axes of the world space (or the parent coordinate space).

The default implementation in ConvexShape uses the support mapping to compute the AABB. Often the AABB can be computed more efficiently; in such cases this method should be overridden in derived classes.

See Also