The PolygonMath type exposes the following members.
Methods | Name | Description |
---|
| GetClosedPolygonArea(IEnumerablePointD2D) |
Gets the area of a closed polygon.
|
| GetClosedPolygonArea(IEnumerableValueTupleDouble, Double) |
Gets the area of a closed polygon.
|
| GetClosedPolygonCentroid(IEnumerablePointD2D) |
Calculate the center of gravity (centroid) of the given closed polygon. The polygon
has to be non-selfintersecting!
|
| GetClosedPolygonCentroid(IEnumerableValueTupleDouble, Double) |
Calculate the center of gravity (centroid) of the given closed polygon. The polygon
has to be non-selfintersecting!
|
| GetClosedPolygonCircumference(IEnumerablePointD2D) |
Gets the circumference of a closed polygon.
|
| GetClosedPolygonCircumference(IEnumerableValueTupleDouble, Double) |
Gets the circumference of a closed polygon.
|
| GetClosedPolygonSecondMoments(IEnumerablePointD2D) |
Calculates the 2nd moments of the given closed polygon. The polygon
has to be non-selfintersecting!
|
| GetClosedPolygonSecondMoments(IEnumerableIEnumerablePointD2D) |
Calculates the 2nd moments of the given closed polygons. The polygons
have to be non-selfintersecting!
|
| GetClosedPolygonSecondMoments(IEnumerableIEnumerableValueTupleDouble, Double) |
Calculates the 2nd moments of the given closed polygons. The polygons
have to be non-selfintersecting!
|
| GetClosedPolygonSecondMoments(IEnumerableValueTupleDouble, Double) |
Calculates the 2nd moments of the given closed polygon. The polygon
has 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.
|
| ToPointsD2D(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.
|
| ToPointsD2D(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