Click or drag to resize

MathHelperTriangleArea Method

Calculates area of a triangle.

Namespace:  DXFReaderNET
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax
public static double TriangleArea(
	Vector2 p1,
	Vector2 p2,
	Vector2 p3
)

Parameters

p1
Type: DXFReaderNETVector2
First vertex of triangle.
p2
Type: DXFReaderNETVector2
Second vertex of triangle.
p3
Type: DXFReaderNETVector2
Third vertex of triangle.

Return Value

Type: Double
The area of triangle.
See Also