Kanzi  3.9.6
Kanzi Engine API
plane.hpp File Reference

Classes

class  kanzi::Plane
 The equation of a plane in 3D space is defined with a normal vector (perpendicular to that plane) and a known point on the plane. More...
 
struct  kanzi::PlanePlaneIntersection
 Stores the intersection of two planes. More...
 
struct  kanzi::PlaneRayIntersection
 Stores the result of an intersection between a plane and a ray. More...
 

Namespaces

 kanzi
 Easing functions that require external dependencies for calculation.
 

Functions

optional< PlanePlaneIntersection > kanzi::planeIntersectPlane (const Plane &plane1, const Plane &plane2, float parallelTolerance)
 Checks whether two planes intersect and returns a point and direction vector for the line of intersection. More...
 
optional< PlaneRayIntersection > kanzi::planeIntersectRay (const Plane &plane, const Ray &ray, const float parallelTolerance)
 Tests whether a plane intersects with the given ray, and returns the point of intersection and the distance of the intersection from the origin of a plane. More...