PolygonMathGetClosedPolygonSecondMoments(IEnumerableIEnumerablePointD2D) Method |
Calculates the 2nd moments of the given closed polygons. The polygons
have to be non-selfintersecting!
Namespace: Altaxo.Geometry.Double_2DAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static (double Ixx, double Iyy, double Ixy) GetClosedPolygonSecondMoments(
IEnumerable<IEnumerable<PointD2D>> closedPolygons
)
Parameters
- closedPolygons IEnumerableIEnumerablePointD2D
- The closed polygons.
Return Value
ValueTupleDouble,
Double,
DoubleThe second moments, Ixx, Iyy, and Ixy, of the given polygons (with respect to the origin (x=0, y=0)).
See Also