Method GetIntersections
- Namespace
- GeometryHelper.Spatial
- Assembly
- GeometryHelper.dll
GetIntersections(GeoRay3)
Finds every point where a ray crosses the mesh, using the default tolerance.
public GeoPoint3[] GetIntersections(GeoRay3 ray)
Parameters
rayGeoRay3
Returns
GetIntersections(GeoRay3, Tolerance)
Finds every point where a ray crosses the mesh, within a tolerance.
public GeoPoint3[] GetIntersections(GeoRay3 ray, Tolerance tolerance)
Parameters
Returns
Remarks
The results come back in no particular order. A ray passing exactly along an edge shared by two triangles is reported by both of them, so a caller counting crossings should aim the ray away from edges rather than trust the count.