Skip to content

SegmentIntersection

Overview

An intersection between two different segments.

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

Class SegmentIntersection

import { SegmentIntersection } from 'scenerystack/kite';

Constructor

new SegmentIntersection( point : Vector2, aT : number, bT : number )

Instance Methods

getSwapped() : SegmentIntersection

Returns the intersection with a and b swapped.

Instance Properties

point : Vector2

aT : number

bT : number

Source Code

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