Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
meshing building in matlab

Subject: meshing building in matlab

From: nman2084

Date: 7 Jun, 2011 17:21:04

Message: 1 of 1

    tri = delaunay(x{i},y{i},[]);
    colormap gray;
    h = trisurf(tri, x{i}, y{i}, z{i});

I need to know whether there are any options in matlab to mesh buildings. The above code does a mesh but it is not providing accurate picture of the building.

Also is there a way to control the triangle properties in triangulation, like
max triangle tilt angle, max triangle edgelength, min angle.

I am also getting this following warning when i run the code:

Warning: qhull precision warning:
The initial hull is narrow (cosine of min. angle is 1.0000000000000000).
A coplanar point may lead to a wide facet. Options 'QbB' (scale to unit box)
or 'Qbb' (scale last coordinate) may remove this warning. Use 'Pp' to skip
this warning. See 'Limitations' in http://www.qhull.org/html/qh-impre.htm

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us