Click or drag to resize
CMATH Class
This is not a class. This is a collection of standard mathematical functions, including most of the common logarithmic and geometric functions.
Inheritance Hierarchy
SystemObject
  GeoEngine.Core.GXNetCMATH

Namespace: GeoEngine.Core.GXNet
Assembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Syntax
public static class CMATH

The CMATH type exposes the following members.

Methods
  NameDescription
Public methodAvailable to anyoneStatic memberCrossProduct
Cross product of two vectors.
Public methodAvailable to anyoneStatic memberiAbs
Calculate absolute value
Public methodAvailable to anyoneStatic memberiAnd
Return the unary operation result of A & B Returns an integer number If A or B is a dummy, returns dummy.
Public methodAvailable to anyoneStatic memberiMod
Calculates the modulus of two integers
Public methodAvailable to anyoneStatic memberiOr
Return the unary operation result of A | B Returns an integer number If A or B is a dummy, returns dummy.
Public methodAvailable to anyoneStatic memberiRound
Round to the nearest whole number
Public methodAvailable to anyoneStatic memberiXor
Return the unary operation result of A ^ B Returns an integer number If A or B is a dummy, returns dummy.
Public methodAvailable to anyoneStatic memberNicerLogScale
Finds nicer min, max values for logarithmic plot scales.
Public methodAvailable to anyoneStatic memberNicerScale
Compute a nicer scale for a given min and max.
Public methodAvailable to anyoneStatic memberNormalise3D
Scale a vector to unit length.
Public methodAvailable to anyoneStatic memberrAbs
Calculate absolute value
Public methodAvailable to anyoneStatic memberrArcCos
Calculate the arccosine
Public methodAvailable to anyoneStatic memberrArcSin
Calculate the arcsin
Public methodAvailable to anyoneStatic memberrArcTan
Calculate the arctan
Public methodAvailable to anyoneStatic memberrArcTan2
Calculate ArcTan(Y/X)
Public methodAvailable to anyoneStatic memberrCeil
Calculates the ceiling of the value
Public methodAvailable to anyoneStatic memberrCos
Calculate the cosine
Public methodAvailable to anyoneStatic memberrDotProduct3D
Compute Dot product of two vectors.
Public methodAvailable to anyoneStatic memberrExp
Calculate e raised to the power of X
Public methodAvailable to anyoneStatic memberrFloor
Calculates the floor of the value
Public methodAvailable to anyoneStatic memberrHypot
sqrt(X*X + Y*Y)
Public methodAvailable to anyoneStatic memberrLambdaTrans
Performs lambda transform on a value.
Public methodAvailable to anyoneStatic memberrLambdaTransRev
Performs a reverse lambda transform on a value.
Public methodAvailable to anyoneStatic memberrLog
Calculate the natural log
Public methodAvailable to anyoneStatic memberrLog10
Calculate the base 10 log
Public methodAvailable to anyoneStatic memberrLogZ
Given a Z value and the Log style and Log Minimum this function will return the log value.
Public methodAvailable to anyoneStatic memberrMod
Calculates the modulus of two reals (A mod B)
Public methodAvailable to anyoneStatic memberRotateVector
Rotate a vector about an axis.
Public methodAvailable to anyoneStatic memberrPow
Calculate X raised to the power of Y
Public methodAvailable to anyoneStatic memberrRand
Get a random number between 0 and 1
Public methodAvailable to anyoneStatic memberrRound
Round to n significant digits
Public methodAvailable to anyoneStatic memberrSign
Determine return value based on value of Z1
Public methodAvailable to anyoneStatic memberrSin
Calculate the sin
Public methodAvailable to anyoneStatic memberrSqrt
Calculate the square root
Public methodAvailable to anyoneStatic memberrTan
Calculate the tangent
Public methodAvailable to anyoneStatic memberrUnLogZ
Inverse of rLogZ
Public methodAvailable to anyoneStatic memberSRand
Seed the random-number generator with current time
Top
See Also