IntersectPlaneTrian​gle mex

版本 1.2 (20.5 KB) 作者: Mehmet OZTURK
Calculation of intersection between a plane and a triangle
855.0 次下载
更新时间 2014/11/20

查看许可证

Calculation of intersection segment between a plane (defined with a point p0 that lies on the plane and a normal vector n of that plane) and a triangle (defined with its vertices P1, P2 and P3)
N : Normal to plane , |N| = 1, N->(nx3)
Q : Point into the plane, Q->(nx3)

P1,P2,P3 : Triangle vertices, P1,P2,P3->(nx3)

return : 0 if no intersection
U : Intersection points, U->(3x2)

You can use the provided example.m file for usage of this function

引用格式

Mehmet OZTURK (2024). IntersectPlaneTriangle mex (https://www.mathworks.com/matlabcentral/fileexchange/32255-intersectplanetriangle-mex), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R14
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Linear Algebra 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.2

will be available as a Toolbox file

1.1.0.0

will be available as a Toolbox file

1.0.0.0