Mathematics for closed polygons.
Inheritance Hierarchy Namespace: Altaxo.Geometry.Int64_2DAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static class PolygonMath
The PolygonMath type exposes the following members.
Methods | Name | Description |
---|
| GetClosedPolygonArea |
Gets the area of a closed polygon.
|
| GetClosedPolygonCentroid |
Calculate the center of gravity (centroid) of the given closed polygon. The polygon
has to be non-selfintersecting!
|
| GetClosedPolygonCircumference |
Gets the circumference of a closed polygon.
|
| GetClosedPolygonSecondMoments(IEnumerableIntPoint) |
Calculates the 2nd moments of the given closed polygon. The polygon
has to be non-selfintersecting!
|
| GetClosedPolygonSecondMoments(IEnumerableIEnumerableIntPoint) |
Calculates the 2nd moments of the given closed polygons. The polygons
have to be non-selfintersecting!
|
| GetEigenValuesFromSecondMoments |
Gets the eigenvalues from the second moments.
|
| GetEigenVectorsFromSecondMoments |
Gets the eigenvectors from the second moments.
|
| GetOrientationAngleOfPrincipalAxisFromSecondMoments |
Gets the orientation angle (in rad) of the principal axis from the second moments.
|
| ToIntPoints(IEnumerablePointD2D, Double, Double, Double, Double) |
Creates integer polygon points from points consisting of doubles.
The points can be transformed before converting to integers. First, the points are centered (x'=x-centerX, y'=y-centerY). Then the centered point
is rotated. Lastly, the such transformated points is scaled.
|
| ToIntPoints(IEnumerableValueTupleDouble, Double, Double, Double, Double, Double) |
Creates integer polygon points from points consisting of doubles.
The points can be transformed before converting to integers. First, the points are centered (x'=x-centerX, y'=y-centerY). Then the centered point
is rotated. Lastly, the such transformated points is scaled.
|
TopSee Also