BoundingBox Equals Method (BoundingBox)Delta Engine Documentation

Namespace: DeltaEngine.Datatypes
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public bool Equals(
	BoundingBox other
)

Return Value

Type: Boolean

Implements

IEquatable T  Equals(T)
Remarks

Tests: DeltaEngine.Tests.Datatypes.BoundingBoxTests
Examples

1 unit tests call DeltaEngine.Datatypes.BoundingBox.Equals(DeltaEngine.Datatypes.BoundingBox)
[Test]
public void CheckForExactEquality()
{
    var box = new BoundingBox(Vector3D.Zero, Vector3D.One);
    var equalBox = new BoundingBox(Vector3D.Zero, Vector3D.One);
    Assert.IsTrue(box.Equals((object)equalBox));
}
See Also