Skip to content

@ue-too/math / index / getLineIntersection

函式: getLineIntersection() ​

getLineIntersection(startPoint, endPoint, startPoint2, endPoint2): object

定義於: 2dVector.ts:163

參數 ​

startPoint ​

Point

endPoint ​

Point

startPoint2 ​

Point

endPoint2 ​

Point

回傳 ​

object

intersection? ​

optional intersection: Point

intersects ​

intersects: boolean

offset? ​

optional offset: number