14 lines
275 B
TypeScript
14 lines
275 B
TypeScript
|
export const checkIntersection: (
|
||
|
x1: number,
|
||
|
y1: number,
|
||
|
x2: number,
|
||
|
y2: number,
|
||
|
x3: number,
|
||
|
y3: number,
|
||
|
x4: number,
|
||
|
y4: number
|
||
|
) => {
|
||
|
type: 'colinear' | 'parallel' | 'none' | 'intersecting'
|
||
|
}
|
||
|
export const colinearPointWithinSegment: any
|