Ideas on how to visualize these skewed pyramids planes?

3 views (last 30 days)
Hello All,
Here is a picture of what I have thus far, and the scripts/functions I am running: https://www.dropbox.com/sh/qfn89numgtxa45o/4HN-OilTEQ
I use the normal vectors and constant term of each plane's equation to find the intersection points. The facets are then plotted using fill3 and a set of 5 points. The peaks of the pyramids are into the screen. They currently end at a common "base plane," the xy plane (z=0)
What I need to do is have the planes continue up until they meet the closest plane and form ridge or peak like feature. Im looking for ideas on how this can be done not someone to write the code for me.
My current strategy, which is not working, is to take two facets from one pyramid and guess which adjacent facet they will intersect first, then replace that corner with the new intersection. This does not work however because there should be ridges in some places and points or peaks of intersections at others.
I have included the script and the necessary functions that will plot these structures in the dropbox folder. Run: PLOT_one_instance.m to plot the supplied picture for a given a, and b. Run: Plot_ISO.m to plot what I am currently messing around with.
Note: a & b are angles that skew the pyramids, I need this structure to work for angles of (.0001 < b < 60ish) and (.001 < a < 40)
Any help is appreciated, thank you in advance!

Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!