areaoftriangle3D

Calculates the area of the triangle in 3D, defined with these three vertices P1, P2 and P3. Depending on input, function can return scalar, vector or matrix

Arguments

  1. p1(x)
  2. p1(y)
  3. p1(z)
  4. p2(x)
  5. p2(y)
  6. p2(z)
  7. p3(x)
  8. p3(y)
  9. p3(z)

Output

Area of triangle

Examples

areaoftriangle3D