示例#1
0
 public IEnumerable <Intersection> Intersections(OrientedBox box) => Sphere.Intersects(box) ? Triangles
 .Select(t => IntersectionQueries.Default.Intersects(t, box))
 .NotNull()
     : Enumerable.Empty <Intersection>();
示例#2
0
 public bool Intersects(OrientedBox box) => Intersections(box).Any();
示例#3
0
 public bool Intersects(OrientedBox box) => Intersections(box, intersectionQueries).Any();
示例#4
0
 public IEnumerable <Intersection> Intersections(OrientedBox box) => Intersections(box, intersectionQueries);
示例#5
0
 public bool Intersects(OrientedBox box) => Intersects(box.Box.ClosestPoint(box.Orientation, Center));