PlaneTests CreatePlaneFromPointOnPlane Method Delta Engine Documentation

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

public void CreatePlaneFromPointOnPlane()
Examples

[Test]
public void CreatePlaneFromPointOnPlane()
{
    var plane = new Plane(Vector3D.UnitY, new Vector3D(0, 1, 0));
    Assert.AreEqual(Vector3D.UnitY, plane.Normal);
    Assert.AreEqual(-1.0f, plane.Distance);
}
See Also