# area of triangle

 Register Blogs Members List Search Today's Posts Mark Forums Read

 June 1, 2001, 14:27 area of triangle #1 clifford bradford Guest   Posts: n/a How do I find the area of a triangle in 2-D if I know the coordinates of the corners?

 June 1, 2001, 14:36 Re: area of triangle #2 bronze Guest   Posts: n/a use Heron's law: a^2 = s(s-a)(s-b)(s-c) a=area a,b,c = side lengths s=0.5*(a+b+c) (works well for 3-d too)

 June 1, 2001, 14:38 Re: area of triangle #3 bronze Guest   Posts: n/a http://www.cs.mtu.edu/~shene/COURSES...06/area-3.html The method and the code

 June 1, 2001, 17:05 Re: area of triangle #4 Sid Guest   Posts: n/a The three vertices are ordered in counterclockwise order, (x1,y1), (x2,y2), (x3,y3). Then, S=0.5*(x1*(y2-y3)+x2*(y3-y1)+x3*(y1-y2)) which can be derived easily by computing a cross product of a parir (any pair) of the side vectors. Bye

 June 1, 2001, 18:38 Re: area of triangle #5 clifford bradford Guest   Posts: n/a Aha! Thanks.

 June 2, 2001, 09:33 Re: area of triangle #6 Barry Guest   Posts: n/a Hi The very best way to do it is to calculate the cross product using two vectors (sharing the same origen)(one of the corner vertex of the triangle) which forms the edges of the triangle. Half the norm of the resulting vector will give ya the surface area AND by doing so you already calculated a normal to the surface which ye want anyhow. Just make sure your convention is correct, otherwise your normal vector might point in the wrong direction. Cheers Barry

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post saisanthoshm88 CFX 11 September 17, 2015 18:42 Attesz CFX 7 January 5, 2013 04:32 alfaben STAR-CCM+ 2 September 17, 2011 03:46 mike CFX 1 March 19, 2008 08:22 Jon Main CFD Forum 2 April 25, 2005 08:43

All times are GMT -4. The time now is 15:13.