Click or drag to resize

PolygonMathGetClosedPolygonSecondMoments(IEnumerableValueTupleDouble, Double) Method

Calculates the 2nd moments of the given closed polygon. The polygon has to be non-selfintersecting!

Namespace: Altaxo.Geometry.Double_2D
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static (double Ixx, double Iyy, double Ixy) GetClosedPolygonSecondMoments(
	IEnumerable<(double X, double Y)> closedPolygon
)

Parameters

closedPolygon  IEnumerableValueTupleDouble, Double
The closed polygon.

Return Value

ValueTupleDouble, Double, Double
The second moments, Ixx, Iyy, and Ixy, of the given polygon (with respect to the origin (x=0, y=0)).
See Also