Exemplo n.º 1
0
 /// <summary>
 /// Tests for intersection between a <see cref="Sphere"/> and an <see cref="AxisAlignedBox"/> .
 /// </summary>
 /// <param name="sphere">A <see cref="Sphere"/> instance.</param>
 /// <param name="box">An <see cref="AxisAlignedBox"/> instance.</param>
 /// <returns>An <see cref="IntersectionType"/> value.</returns>
 public static IntersectionType Intersects(Sphere sphere, AxisAlignedBox box)
 {
     // TODO: Implement this.
     throw new NotImplementedException();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Tests for intersection between a <see cref="Ray"/> and an <see cref="AxisAlignedBox">axis aligned box</see>.
 /// </summary>
 /// <param name="ray">A <see cref="Ray"/> instance.</param>
 /// <param name="aabb">A <see cref="AxisAlignedBox"/> instance.</param>
 /// <returns>An <see cref="IntersectionPair"/> instance containing the intersection information.</returns>
 public static IntersectionPair Intersects(Ray ray, AxisAlignedBox aabb)
 {
     // TODO: Implement this.
     throw new NotImplementedException();
 }
Exemplo n.º 3
0
 /// <summary>
 /// Tests for intersection between an <see cref="AxisAlignedBox"/> and an <see cref="OrientedBox"/> .
 /// </summary>
 /// <param name="box1">An <see cref="AxisAlignedBox"/> instance.</param>
 /// <param name="box2">An <see cref="OrientedBox"/> instance.</param>
 /// <returns>An <see cref="IntersectionType"/> value.</returns>
 public static IntersectionType Intersects(AxisAlignedBox box1, OrientedBox box2)
 {
     // TODO: Implement this.
     throw new NotImplementedException();
 }
Exemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AxisAlignedBox"/> class using given values from another box instance.
 /// </summary>
 /// <param name="box">A <see cref="AxisAlignedBox"/> instance to take values from.</param>
 public AxisAlignedBox(AxisAlignedBox box)
 {
     _min = box.Min;
     _max = box.Max;
 }