NevronOpenVision
Nevron.Nov Namespace / NMath Class
Fields Methods


In This Topic
    NMath Class Members
    In This Topic

    The following tables list the members exposed by NMath.

    Public Fields
     NameDescription
    Public FieldThe PI constant (180 degrees).  
    Public FieldThe PI * 2 constant (360 degrees).  
    Public FieldThe PI * 3 / 4 constant (135 degrees).  
    Public FieldThe PI * 3 / 2 constant (270 degrees).  
    Public FieldThe PI / 2 constant (90 degrees).  
    Public FieldThe PI / 4 constant (45 degrees).  
    Public FieldReturns the value of 2.0 / 3.0.  
    Top
    Protected Fields
     NameDescription
    Internal Field  
    Top
    Public Methods
     NameDescription
    Public Methodstatic (Shared in Visual Basic)Overloaded. Returns the absolute value of a value.  
    Public Methodstatic (Shared in Visual Basic)Returns the angle that is formed by a vector with the specified y and x coordinates and the X-axis.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Rounds the value to the next instance of multiple  
    Public Methodstatic (Shared in Visual Basic)Returns the smallest integral value that is greater than or equal to the specified double-precision floating-point number. If the given value is almost equal (epsilon equals) to a smaller integer value, it's returned instead.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Clamps the value to the [min;max] range.  
    Public Methodstatic (Shared in Visual Basic)Returns true if value1 equals value2 with a given value (epsilon).  
    Public Methodstatic (Shared in Visual Basic)Calculates the factorial of the given number.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Rounds the value to the previous instance of multiple  
    Public Methodstatic (Shared in Visual Basic)Returns the largest integer less than or equal to the specified double-precision floating-point number. If the given value is almost equal (epsilon equals) to a larger integer value, it's returned instead.  
    Public Methodstatic (Shared in Visual Basic)Checks whether the value is in the closed range [min; max].  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Rounds the value to the adjacent integer that is closest to zero.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Rounds the value to the adjacent integer that is farest from zero.  
    Public Methodstatic (Shared in Visual Basic)Checks whether the specified number is exact power of 2.  
    Public Methodstatic (Shared in Visual Basic)Checks whether the specified number is a prime number  
    Public Methodstatic (Shared in Visual Basic)Computes the logarithm of the specified value with the specified base  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Returns the max of two numbers  
    Public Methodstatic (Shared in Visual Basic)Returns the maximum of two values  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Returns the min of two numbers  
    Public Methodstatic (Shared in Visual Basic)Gets the min and max from a set of four values  
    Public Methodstatic (Shared in Visual Basic)Returns the minimum of two values  
    Public Methodstatic (Shared in Visual Basic)Returns the remainder (modulus) resulting when a number is divided by a divisor. The result has the same sign as the divisor.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Rounds the specified value to the nearest int value.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Returns the sum of the array  
    Public Methodstatic (Shared in Visual Basic)Truncates a number to the precision represented by numDigits.  
    Public Methodstatic (Shared in Visual Basic)The Truncated Power function https://en.wikipedia.org/wiki/Truncated_power_function  
    Top
    See Also