UNPKG

jakke-graphics-ts

Version:

My common graphics utils for building my aec apps.

10 lines 537 B
import { Line, Triangle, Vertex3d } from "../models/types/basicGeometries"; export declare function pointEvaluationOnLine(p0: Vertex3d, p1: Vertex3d, ptTest: Vertex3d): number | undefined; /** * Get intersection of line and triangle. * @param line Line's endpoints. * @param triangle Triangle * @returns When intersection point exists, returns it. If not, returned undefined. */ export declare function getPointOnTrianglePlane(line: Line, triangle: Triangle): Vertex3d | undefined; //# sourceMappingURL=pointEvaluationUtils.d.ts.map