Skip to content

RayIntersection

Under Construction

This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/kite/blob/main/js/util/RayIntersection.ts for the most up-to-date information.

Overview

An intersection between a ray and a segment.

@author Jonathan Olson <jonathan.olson@colorado.edu>

Class RayIntersection

import { RayIntersection } from 'scenerystack/kite';

Constructor

new RayIntersection( distance : number, point : Vector2, normal : Vector2, wind : number, t : number )

Instance Methods

Instance Properties

point : Vector2

normal : Vector2

distance : number

wind : number

t : number

Source Code

See the source for RayIntersection.ts in the kite repository.