Cross points 3D

Please discuss general Delphi programming topics here.

Cross points 3D

Postby hani » May 10th, 2006, 10:47 am

Hi all
How i can find all cross points between two 3D polygons









Thanks
hani
Active Member
Active Member
 
Posts: 17
Joined: October 17th, 2005, 9:15 am

Postby Kambiz » May 10th, 2006, 12:28 pm

As a solution, you can to find the intersection (if any) of each edge of one polygon with the other polygon.

In the SimpleGraph unit there's a function named IntersectLinePolygon. This function returns the intersections of an infinite line with a polygon in 2D space. You can easily modify this function to find intersection of a finite line with a polygon in 3D space.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2421
Joined: March 7th, 2003, 7:10 pm


Return to Delphi Programming

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron