5.0

5.0 | 1 rating Rate this file 15 Downloads (last 30 days) File Size: 34.33 KB File ID: #32256
image thumbnail

intersectPlaneSurf II

by Mehmet OZTURK

 

19 Jul 2011 (Updated 22 Jul 2011)

Intersection of a plane with an arbitrary surface

| Watch this File

File Information
Description

Intersection of a plane with an arbitrary surface data. The surface must be in the form of faces and vertices strcture such as patch function and the faces of the surface must be defined with triangles. fv =
fv =
       faces: [number of faces x 3 double]
    vertices: [number of vertices x 3 double]
"p0" and "n" is used to define the plane. "p0" is a point that lies on
the plane and "n" is the normal vector of the plane.

The function actually calculates intersection segments of triangels of
the surface with the plane and finally all the calculated segments is
linked to each other to form a continuous intersection region

Note: You must compile provided mex file firstly

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
geom3d

MATLAB release MATLAB 7 (R14)
Other requirements geom3d toolbox from David Legland for visualization purposes only
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
19 Jul 2011 Ben

Nice function, thanks!

Please login to add a comment or rating.
Updates
22 Jul 2011

Not an update, a small correction has been made in the name of the function.

Tag Activity for this File
Tag Applied By Date/Time
intersection Mehmet OZTURK 19 Jul 2011 13:09:41
plane Mehmet OZTURK 19 Jul 2011 13:09:41
surface Mehmet OZTURK 19 Jul 2011 13:09:41
triangle Mehmet OZTURK 19 Jul 2011 13:09:41

Contact us at files@mathworks.com