Click or drag to resize

MathUtils Class

Inheritance Hierarchy
SystemObject
  Internal.tainicom.Aether.Physics2D.CommonMathUtils

Namespace:  Internal.tainicom.Aether.Physics2D.Common
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static class MathUtils

The MathUtils type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAbs
Public methodStatic memberArea(Vector2, Vector2, Vector2)
Returns a positive number if c is to the left of the line going from a to b.
Public methodStatic memberArea(Vector2, Vector2, Vector2)
Returns a positive number if c is to the left of the line going from a to b.
Public methodStatic memberClamp(Int32, Int32, Int32)
Public methodStatic memberClamp(Single, Single, Single)
Public methodStatic memberClamp(Vector2, Vector2, Vector2)
Public methodStatic memberCross(Single, Vector2)
Public methodStatic memberCross(Vector2, Vector2)
Public methodStatic memberCross(Vector2, Single)
Public methodStatic memberCross(Vector2, Vector2)
Public methodStatic memberCross(Vector3, Vector3)
Public methodStatic memberCross(Single, Vector2, Vector2)
Public methodStatic memberCross(Vector2, Vector2, Single)
Public methodStatic memberDot(Vector2, Vector2)
Public methodStatic memberDot(Vector3, Vector3)
Public methodStatic memberFloatEquals(Single, Single)
Public methodStatic memberFloatEquals(Single, Single, Single)
Checks if a floating point Value is equal to another, within a certain tolerance.
Public methodStatic memberFloatInRange
Checks if a floating point Value is within a specified range of values (inclusive).
Public methodStatic memberInvSqrt
This is a approximate yet fast inverse square-root.
Public methodStatic memberIsCollinear
Determines if three vertices are collinear (ie. on a straight line)
Public methodStatic memberIsValid(Single)
This function is used to ensure that a floating point number is not a NaN or infinity.
Public methodStatic memberIsValid(Vector2)
Public methodStatic memberMul(Mat22, Vector2)
Public methodStatic memberMul(Mat22, Vector2)
Public methodStatic memberMul(Mat33, Vector3)
Public methodStatic memberMul22
Public methodStatic memberMulT(Mat22, Vector2)
Public methodStatic memberMulT(Mat22, Vector2)
Public methodStatic memberMulT(Mat22, Mat22, Mat22)
Public methodStatic memberRot270
Public methodStatic memberRot90
Public methodStatic memberSkew
Public methodStatic memberSwapT
Public methodStatic memberVectorAngle(Vector2, Vector2)
Public methodStatic memberVectorAngle(Vector2, Vector2)
Return the angle between two vectors on a plane The angle is from vector 1 to vector 2, positive anticlockwise The result is between -pi -> pi
Top
See Also