1. ## Math

Consider the clipping of a line segment defined by the latter's two endpoints. Show that you require only the endpoints to determine whether the line segment is not clipped, is partially visible, or is clipped out completely.

Thanks

2. ## Re: Math

If I understand you correctly you could use the Plane equation Ax + By + Cz + D = 0 to work out if one or both of the end points are infront of the clipping plane or behind it. If each end point is on a different side of the plane then the line segment is partially visible, otherwise it is either completely visible or completely invisible.

Hope that helps

3. ## Re: Math

Does the question not sound amazingly like someone's homework?! =)

4. ## Re: Math

Originally posted by john:
Does the question not sound amazingly like someone's homework?! =)
Who wants to turn in the wrong answer? Veerification is always nice.

5. ## Re: Math

Or even worse....a test!

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•