Skip to content

LineIntersector

Overview

Handles finding intersections between IntegerEdges (will push RationalIntersections into the edge's intersections arrays)

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

Class LineIntersector

import { LineIntersector } from 'scenerystack/alpenglow';

Static Methods

processIntegerEdgeIntersection( edgeA : IntegerEdge, edgeB : IntegerEdge, log : RasterTileLog | null )

edgeIntersectionBoundsTree( integerEdges : IntegerEdge[], log : RasterTileLog | null )

edgeIntersectionArrayBoundsTree( integerEdges : IntegerEdge[], log : RasterTileLog | null )

edgeIntersectionQuadratic( integerEdges : IntegerEdge[], log : RasterTileLog | null )

Source Code

See the source for LineIntersector.ts in the alpenglow repository.