Rank: 283974 based on 0 downloads (last 30 days) and 0 file submitted
photo

Nir

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Nir
Updated File Comments Rating
29 Feb 2012 geom3d Library to handle 3D geometric primitives: create, intersect, display, and make basic computations Author: David Legland

Hey David,
It seems that the functions:
intersectRayPolygon3d
intersectLinepolygon3d
Don't work properly.
I have a rectangular 3D polygon (fairly simple, like an elongated cube) defined by both the vertices and the planes of it's sides.
A line or a ray, with a location in the middle of it in ANY direction should generate an intersection point. This does not work. Not for a line nor a ray.

Vertices:
0 0 0
0 0 2.7000
5.7000 0 0
5.7000 0 2.7000
5.7000 7.0000 0
5.7000 7.0000 2.7000
0 7.0000 0
0 7.0000 2.7000

Ray
Origin: 2.8508 3.5013 1.3500
Direction: -0.1 0.1 1

Help?

Contact us