Skip to main content

plane3_compute_line_segment_intersection

plane3_compute_line_segment_intersection(result, result_offset, x0, y0, z0, x1, y1, z1, plane_normal_x, plane_normal_y, plane_normal_z, plane_offset) ⇒ boolean

Kind: global function
Returns: boolean - if intersection exists, false if line is parallel to the plane

ParamTypeDescription
resultFloat32Array | Array.<number> | vec3
result_offsetnumber
x0numberfirst point defining line
y0numberfirst point defining line
z0numberfirst point defining line
x1numbersecond point defining line
y1numbersecond point defining line
z1numbersecond point defining line
plane_normal_xnumber
plane_normal_ynumber
plane_normal_znumber
plane_offsetnumber