Containers extensions for IIntersectable to apply to similar types
More...
|
static bool | Intersects (this IIntersectable intersectable, Ray ray) |
|
static bool | Intersects (this IIntersectable intersectable, Segment segment, out double distance) |
|
static bool | Intersects (this IIntersectable intersectable, Segment segment) |
|
static bool | Intersects (this Ray ray, IIntersectable intersectable, out double distance) |
|
static bool | Intersects (this Ray ray, IIntersectable intersectable) |
|
static bool | Intersects (this Segment segment, IIntersectable intersectable, out double distance) |
|
static bool | Intersects (this Segment segment, IIntersectable intersectable) |
|
Containers extensions for IIntersectable to apply to similar types
◆ Intersects() [1/7]
static bool pluginbase.Helpers.Geometry.IntersectableExtensions.Intersects |
( |
this IIntersectable |
intersectable, |
|
|
Ray |
ray |
|
) |
| |
|
static |
13 return intersectable.Intersects(ray, out dist);
◆ Intersects() [2/7]
static bool pluginbase.Helpers.Geometry.IntersectableExtensions.Intersects |
( |
this IIntersectable |
intersectable, |
|
|
Segment |
segment, |
|
|
out double |
distance |
|
) |
| |
|
static |
18 if (intersectable.Intersects(Ray.FromSegment(segment), out distance))
20 return distance <= segment.Length;
◆ Intersects() [3/7]
static bool pluginbase.Helpers.Geometry.IntersectableExtensions.Intersects |
( |
this IIntersectable |
intersectable, |
|
|
Segment |
segment |
|
) |
| |
|
static |
28 if (intersectable.Intersects(Ray.FromSegment(segment), out distance))
30 return distance <= segment.Length;
◆ Intersects() [4/7]
static bool pluginbase.Helpers.Geometry.IntersectableExtensions.Intersects |
( |
this Ray |
ray, |
|
|
IIntersectable |
intersectable, |
|
|
out double |
distance |
|
) |
| |
|
static |
37 return intersectable.Intersects(ray, out distance);
◆ Intersects() [5/7]
static bool pluginbase.Helpers.Geometry.IntersectableExtensions.Intersects |
( |
this Ray |
ray, |
|
|
IIntersectable |
intersectable |
|
) |
| |
|
static |
43 return intersectable.Intersects(ray, out distance);
◆ Intersects() [6/7]
static bool pluginbase.Helpers.Geometry.IntersectableExtensions.Intersects |
( |
this Segment |
segment, |
|
|
IIntersectable |
intersectable, |
|
|
out double |
distance |
|
) |
| |
|
static |
48 return Intersects(intersectable, segment, out distance);
static bool Intersects(this IIntersectable intersectable, Ray ray)
Definition: IntersectableExtensions.cs:10
◆ Intersects() [7/7]
static bool pluginbase.Helpers.Geometry.IntersectableExtensions.Intersects |
( |
this Segment |
segment, |
|
|
IIntersectable |
intersectable |
|
) |
| |
|
static |
static bool Intersects(this IIntersectable intersectable, Ray ray)
Definition: IntersectableExtensions.cs:10
The documentation for this class was generated from the following file: