Click or drag to resize
AB4D logo

PlaneRayPlaneIntersection(Point3D, Vector3D, Point3D) Method

RayPlaneIntersection calculates a position where the ray intersects a plane. Returns false if there is no intersection (in case ray direction is the same as plane's normal).

Namespace: Ab3d.Utilities
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.0.8746.1045
Syntax
C#
public bool RayPlaneIntersection(
	Point3D rayOrigin,
	Vector3D rayDirection,
	out Point3D intersectionPoint
)

Parameters

rayOrigin  Point3D
ray origin as Point3D
rayDirection  Vector3D
ray direction as Vector3D
intersectionPoint  Point3D
returned intersection position

Return Value

Boolean
Returns false is there is no intersection
See Also