Click or drag to resize

MCUtilitiesGetAverage Method

Gets the average of the three vectors.

Namespace:  HightlanderSolutions.MeshCheckerEditorExtension.Utilities
Assembly:  MeshCheckerLibrary (in MeshCheckerLibrary.dll) Version: 2.3
Syntax
C#
public static Vector3 GetAverage(
	Vector3 p1,
	Vector3 p2,
	Vector3 p3
)

Parameters

p1
Type: Vector3
The first point of triangle.
p2
Type: Vector3
The second point of triangle.
p3
Type: Vector3
The third point of triangle.

Return Value

Type: Vector3
The center position of triangle.
See Also