Thread Subject:
Computational Geometry functions

Subject: Computational Geometry functions

From: Vivek Saxena

Date: 13 Apr, 2010 09:03:04

Message: 1 of 1

Hi,

I want to be able to do the following in an existing finite element code:

1. Specify an arbitrary closed geometric shape in 2 dimensions (either by drawing, or otherwise).

2. Get a triangular mesh (I know how to use delaunay(x,y) for this).

3. Get the (x,y) coordinates of all boundary points and a boundary connectivity array: every row of this array should contain two columns which hold the index numbers (global node numbers as returned by delaunay) of the two boundary points that are connected by an edge.

I'm able to do this for a circle of known radius because I can use the radius to determine whether a point lies on the boundary or not. But how can I do it for a general shape?

Would the convex hull help?

Thanks
Vivek

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

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.

Tag Activity for This Thread
Tag Applied By Date/Time
computational geom... Vivek Saxena 13 Apr, 2010 05:04:08
convex hull Vivek Saxena 13 Apr, 2010 05:04:08
delaunay Vivek Saxena 13 Apr, 2010 05:04:08
rssFeed for this Thread

Contact us