Click or drag to resize

AreaTools Class

Class providing various utility methods for areas.
Inheritance Hierarchy
SystemObject
  DHI.Mike1D.Generic.Spatial.AlgorithmAreaTools

Namespace:  DHI.Mike1D.Generic.Spatial.Algorithm
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
C#
public static class AreaTools

The AreaTools type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAreaSignedAboveXaxis
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.

Public methodStatic memberXlengthSignedAboveXaxis
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.

Top
See Also