webcad-api/types/Geometry/DoIntersect.d.ts

7 lines
298 B
TypeScript
Raw Normal View History

2020-09-24 11:04:12 +08:00
import { Vec2 } from "./CheckIntersect";
2021-04-06 17:12:55 +08:00
export declare function orientation(p: Vec2, q: Vec2, r: Vec2): number;
2020-09-24 11:04:12 +08:00
/**
* 线`p1q1`线`p2q2`.
*/
export declare function doIntersect(p1: Vec2, q1: Vec2, p2: Vec2, q2: Vec2): boolean;
//# sourceMappingURL=DoIntersect.d.ts.map