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:
Representing 2D surface with equilateral triangles

Subject: Representing 2D surface with equilateral triangles

From: Deepak

Date: 18 Jul, 2011 19:52:09

Message: 1 of 2

Hi,

I have a 2D square patch with co-ordinates (0,0) (0,4) (4,4) (4,0).

I need to represent this surface with a equilateral triangles with side 1. I know there will be some parts of the square patch not covered by the triangles. In which case, I would need to shrink the triangle to achieve a rough approximation of the square patch.
Is there some logic that I could proceed with.
Can anyone please help me with a code or suggestions.

Thank You

Subject: Representing 2D surface with equilateral triangles

From: Roger Stafford

Date: 18 Jul, 2011 21:04:08

Message: 2 of 2

"Deepak " <deepak.tss@gmail.com> wrote in message <j022t9$noc$1@newscl01ah.mathworks.com>...
> Hi,
>
> I have a 2D square patch with co-ordinates (0,0) (0,4) (4,4) (4,0).
>
> I need to represent this surface with a equilateral triangles with side 1. I know there will be some parts of the square patch not covered by the triangles. In which case, I would need to shrink the triangle to achieve a rough approximation of the square patch.
> Is there some logic that I could proceed with.
> Can anyone please help me with a code or suggestions.
>
> Thank You
- - - - - - - - - -
  I think you need to give up the idea of using equilateral triangles, Deepak. Such a triangle is also equiangular, meaning that each angle is pi/3 radians. Unless your surface is planar, fitting six such triangles together on a curved surface would require the sum of the angles to be less than 2*pi and they therefore wouldn't fit. Perhaps five would fit but it would have to be just the right kind of surface.

Roger Stafford

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