Extrude 2d polygon into 3d polygon - sql

I am using postgresql and I have a table containing 2d polygons (PostGIS geometry type). Now my question is how can I extrude this polygon into a nice 3d building.?
Can anyone help please? because I couldn't find a good tutorial on it.
Many thanks

Related

Butterworth filtering and bezier smoothing of a trajectory

So i have a dataset that represents x-y-z coordinates of a linear motion. The dataset is noisy and i am trying to extract a smooth trajectory as close as possible to the real trajectory using a bezier curve and fitting each point as a control point of the curve. The results are moderately satisfying so i was wondering whether a pre-filtering with a lowpass butterworth will show any better results.
In general is it useful to combine a smoothing technique like bezier or cubic smoothing splines with low pass filtering?

d-mesh generation using constrained delaunay triangulation

are there examples of doing 3d-mesh generation using constrained delaunay triangulation?
I see there is constrained triangulation in 2d but not in their 3d mesh generation.
No, there is no implementation of a constrained Delaunay triangulation in 3D, in CGAL.
There is one in TetGen, but I am not sure there is an API for it.

plotting a function like ezplot in matlab in python using matplotlib

I have a a classification function that classify a data point into one of two classes. The problem is, I need a way to plot the decision boundary of two class. While this is easy for linear function. it's cumbersome to find the equation of the boundary. ezplot package in matlab seems to be able to do it. It will plot the result automatically. It works using linear and quadratic function. It doesn't require you to provide the coordinate. In matplotlib, you can only plot if you are given the coordinate. Does anyone know how to do this with matplotlib?

python 3d and multidimensional plots

What are the different alternatives available for 3D plotting in python matplotlib? I am using scatterplot and would like to know more about other types of 3d plots. I checked the site http://matplotlib.org/mpl_toolkits/mplot3d/tutorial.html but could not get effective results as I was not able to interpret results effectively. Please let me know of some good 3D plots. Also I would like to try multidimensional plotting and have heard that scatterplot matrix is very effective. Please give some good examples demonstrating the same.

Model analyzing in Java 3D

In Java3D application I have two planes. How can I find if they have an intersection and if they do what is the angle between these planes? And how to resolve the vector of their intersection?