AreaTools Class |
Namespace: DHI.Mike1D.Generic.Spatial.Algorithm
public static class AreaTools
The AreaTools type exposes the following members.
Name | Description | |
---|---|---|
AreaSignedAboveXaxis |
Calculates the area between the x-axis and the line defined by
the (x1,y1) and (x2,y2) coordinates, where the line is above the x-axis.
Where the line is below the x-axis, the area is not considered.
It is calculated with signed such that if x2 > x1 then the area is negative. | |
XlengthSignedAboveXaxis |
Calculates the length along the x-axis where the line defined by
the (x1,y1) and (x2,y2) coordinates is above the x-axis.
Where the line is below the x-axis, the length is not considered.
It is calculated with signed such that if x2 > x1 then the area is negative. |