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

panagiotis

E-mail
Company/University
University of Patras

Personal Profile:

 

Watch this Author's files

 

Comments and Ratings by panagiotis View all
Updated File Comments Rating
13 Feb 2013 geom3d Library to handle 3D geometric primitives: create, intersect, display, and make basic computations Author: David Legland

@Sven
I am sorry , but I didn't know that point of view for plane creation. My background bibliography doesn't include such information.Thank you for informing me.

12 Feb 2013 geom3d Library to handle 3D geometric primitives: create, intersect, display, and make basic computations Author: David Legland

@David
You are right David , but didn't thought at all that there would be a misunderstaning for defining the plane by three points!I think it is commonly accepted. Haven't heard before for direction of plane from the third point.
Anyway, came up with something new.

In createPlane , you take into account only the 2nd & 3rd point for the cross product.You don't create vectors like p1-p2 & p1-p3.It looks to me as if you define the [0 0 0] , point for all planes. The normal in some cases looks wrong to me and didn't find any help.. If I use the vectors , results are fine.

plane=[1 1 1 ,2 2 1, 3 3 1]
planeNormal(plane)
ans = 0 0 0

I think that this should be a vector like [0 0 a].

11 Feb 2013 geom3d Library to handle 3D geometric primitives: create, intersect, display, and make basic computations Author: David Legland

Sven,thank you for informing me. The truth is that I didn't got that deep in help..
As soon as I use the library again , I will reconsider the 1-star rating!
Thanks!

09 Feb 2013 geom3d Library to handle 3D geometric primitives: create, intersect, display, and make basic computations Author: David Legland

@ Sven
There was no such notice for this definition. I didn't know that the third point defines the plane's direction .

08 Feb 2013 geom3d Library to handle 3D geometric primitives: create, intersect, display, and make basic computations Author: David Legland

@Sven(strong defense for this library!)

point=[0 0 0];
plane=[0 1 0 0 1 1 0 0 0];
projPointOnPlane(point,plane)
ans = NaN NaN NaN

Contact us