Uses of Class
com.marginallyclever.convenience.Ray
Packages that use Ray
Package
Description
-
Uses of Ray in com.marginallyclever.convenience
Methods in com.marginallyclever.convenience with parameters of type RayModifier and TypeMethodDescriptionboolean
double
Plane.intersectDistance
(Ray ray) finds the intersection of a ray and this plane.void
Set this ray to be a copy of another ray.Constructors in com.marginallyclever.convenience with parameters of type Ray -
Uses of Ray in com.marginallyclever.convenience.helpers
Methods in com.marginallyclever.convenience.helpers with parameters of type RayModifier and TypeMethodDescriptionstatic double
find distance to box, if hit.static double
Returns the distance to the plane, or Double.MAX_VALUE if there is no intersection.static double
ray/sphere intersection.static double
IntersectionHelper.rayTriangle
(Ray ray, javax.vecmath.Vector3d v0, javax.vecmath.Vector3d v1, javax.vecmath.Vector3d v2) The implementation uses the Möller–Trumbore intersection algorithm to compute the intersection between a ray and a triangle. -
Uses of Ray in com.marginallyclever.ro3.apps.viewport
Methods in com.marginallyclever.ro3.apps.viewport that return RayModifier and TypeMethodDescriptionViewport.getRayThroughPoint
(Camera camera, double normalizedX, double normalizedY) Return the ray, in world space, that starts at the camera and passes through this viewport at (x,y) in the current projection.Viewport.getRayThroughPointUntransformed
(Camera camera, double normalizedX, double normalizedY) Return the ray, in camera space, that starts at the origin and passes through this viewport at (x,y) in the current projection. -
Uses of Ray in com.marginallyclever.ro3.mesh
Methods in com.marginallyclever.ro3.mesh with parameters of type Ray -
Uses of Ray in com.marginallyclever.ro3.node.nodes.pose.poses
Methods in com.marginallyclever.ro3.node.nodes.pose.poses with parameters of type Ray -
Uses of Ray in com.marginallyclever.ro3.raypicking
Methods in com.marginallyclever.ro3.raypicking with parameters of type RayModifier and TypeMethodDescriptionRayPickSystem.findRayIntersections
(Ray ray) Traverse the sceneNode
s and find all theMeshInstance
s that collide with the ray.RayPickSystem.getFirstHit
(Ray ray) Traverse the scene Entities and find the nearestMeshInstance
that collides with the ray.