Sign in to follow this  
datahead8888

Quick question on parametric coordinates of triangle...

Recommended Posts

Suppose I have a 2D triangle.  It would have 3 vertices with 2D coordinates - (ua, va), (ub, vb), (uc, vc).

How could these be represented with parametric coordinates?

For example, if it was an equilateral triangle, what would the parametric coordinates be?

 

I've looked around for references but never find anything that can easily be applied to triangles.  Most people post guides on parametric equations and polar coordinates, which is a different topic.

 

Share this post


Link to post
Share on other sites

Don't really understand the question... an equilateral triangle can have any number of points as its vertices, depending on the centre, the length of the sides, and the rotation of the vertices around the centre. One such parameterisation of the points is (a, 0), (a cos(120 degrees), a sin(120 degrees)), (a cos(-120 degrees), a sin (-120 degrees)) for an equilateral triangle centred on the origin with one vertex at (a, 0).

 

Are you looking for barycentric coordinates? http://en.wikipedia.org/wiki/Barycentric_coordinate_system

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this