GSharker / G-Shark

G-Shark is a free and open-source geometry library designed for computational designers and software developers in the Architecture, Engineering, and Construction (AEC) industry.
https://gsharker.github.io/G-Shark/
MIT License
215 stars 37 forks source link

Area of triangle #398

Closed d3ssy closed 1 year ago

d3ssy commented 1 year ago

Method in Trigonometry to calculate area of triangle from 3 points (to be used in Mesh.Face.Area)

cesarecaoduro commented 1 year ago

This should do it

$A=\dfrac{1}{2}\left|\overrightarrow{AB}\times \overrightarrow{AC}\right|$