Uses of Class
toxi.geom.Ray2D
Packages that use Ray2D
-
Uses of Ray2D in toxi.geom
Modifier and TypeMethodDescriptionRay2D.setDirection(ReadonlyVec2D d) Uses a normalized copy of the given vector as the ray direction.Ray2D.setNormalizedDirection(ReadonlyVec2D d) Line2D.toRay2D()Modifier and TypeMethodDescriptionbooleanCircleIntersector.intersectsRay(Ray2D ray) booleanIntersector2D.intersectsRay(Ray2D ray) Check if entity intersects with the given rayRect.intersectsRay(Ray2D ray, float minDist, float maxDist) Checks if the rectangle intersects with the given ray and if so computes the first intersection point. -
Uses of Ray2D in toxi.processing
Methods in toxi.processing with parameters of type Ray2D