Click or drag to resize

BBoxTransform Method

Get the bounding box and transform it into parent coordinates. Bounding cube needs all 8 points to be transformed in case of rotation p3 p0/pMax p7 p4 p2 p1 p6/pMin p5 And then new bounding box computed to be axis aligned.

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Common (in Demo3D.Common.dll) Version: 15.0.2.11458
Syntax
C#
public static BBox Transform(
	BBox b,
	Matrix m
)

Parameters

b
Type: Demo3D.VisualsBBox

[Missing <param name="b"/> documentation for "M:Demo3D.Visuals.BBox.Transform(Demo3D.Visuals.BBox,Microsoft.DirectX.Matrix)"]

m
Type: Microsoft.DirectXMatrix

[Missing <param name="m"/> documentation for "M:Demo3D.Visuals.BBox.Transform(Demo3D.Visuals.BBox,Microsoft.DirectX.Matrix)"]

Return Value

Type: BBox

[Missing <returns> documentation for "M:Demo3D.Visuals.BBox.Transform(Demo3D.Visuals.BBox,Microsoft.DirectX.Matrix)"]

See Also