|
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.UtilitiesAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax 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
BooleanReturns false is there is no intersection
See Also