-
Getting coordinates along edge of clipped planes
I am using clip planes to 'dissect' my 3D models and would then like to obtain the coordinates along the new edge. Can anyone tell me whether this is possible and if so how
Many thanks
-
Junior Member
Regular Contributor
Re: Getting coordinates along edge of clipped planes
Sure. For every triangle in your model, compute the intersection of its edges and the clipping plane. For each triangle, you will get one of the following:
- no intersections -- ignore this triangle
- 1, 2, or 3 of the vertices intersect -- ignore this triangle or not (your choice)
- 2 intersections -- the line segment between them is a new edge
- 1 intersection and 1 vertex, the line segment between them is a new edge
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules