Math
Less than 1 minute
Some methods and algorithms based on mathematical calculation encapsulation
Tips
The following documentation only provides function prototypes, if you have any questions please check the Documentation
IsAlmostEqualZero
Determine if a number is close to zero
RevitSugar.DB.MathExtensions.IsAlmostEqualZero(System.Double,System.Double)
IsAlmostEqual
Determine whether two numbers are equal
RevitSugar.DB.MathExtensions.IsAlmostEqual(System.Double,System.Double,System.Double)
FeetToMm
Convert feet to millimeters
RevitSugar.DB.MathExtensions.FeetToMm(System.Double)
MmToFeet
Convert millimeters to feet
RevitSugar.DB.MathExtensions.MmToFeet(System.Double)
IsGreaterThan
Determine whether one number is greater than another
RevitSugar.DB.MathExtensions.IsGreaterThan(System.Double,System.Double)
IsGreaterThanOrEqualWith
Determine whether one number is greater than or equal to another number
RevitSugar.DB.MathExtensions.IsGreaterThanOrEqualWith(System.Double,System.Double)
IsLessThan
Determine whether one number is less than another
RevitSugar.DB.MathExtensions.IsLessThan(System.Double,System.Double)
IsLessThanOrEqualWith
Determine whether one number is less than or equal to another number
RevitSugar.DB.MathExtensions.IsLessThanOrEqualWith(System.Double,System.Double)
RadianToDegree
Convert radians to angles
RevitSugar.DB.MathExtensions.RadianToDegree(System.Double)
DegreeToRadian
Convert angles to radians
RevitSugar.DB.MathExtensions.DegreeToRadian(System.Double)