Click or drag to resize

LmiMath Class

Provides math functions that are not found in the standard System.Math namespace. Some of these are similar to the functions that are available for Inventor parameter expressions (e.g. in the Parameters dialog).
Inheritance Hierarchy
SystemObject
  Autodesk.iLogic.RuntimeLmiMath

Namespace:  Autodesk.iLogic.Runtime
Assembly:  Autodesk.iLogic.Runtime (in Autodesk.iLogic.Runtime.dll) Version: 23.0
Syntax
Public NotInheritable Class LmiMath

The LmiMath type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCeil
Returns the smallest integral value that is greater than or equal to the specified number. (This uses the standard .NET Math.Ceiling method.)
Public methodStatic memberEqualWithinTolerance(Double, Double)
Returns true if the two numbers are equal within a tolerance of 1.0E-7.
Public methodStatic memberEqualWithinTolerance(Double, Double, Double)
Returns True if two numbers are equal within the specified tolerance (that is, almost equal).
Public methodStatic memberLn
Returns the natural (base e) logarithm of a specified number. (This uses the standard .NET Math.Log method.)
Public methodStatic memberMakeList
Creates an ArrayList from one or more values.
Public methodStatic memberMakePath
Defines the path to a component name in a subassembly. To specify the path, list all subassembly levels in the order they appear in the assembly model browser tree. This function is required if you want to specify a component name when the same name also exists elsewhere in the assembly.
Public methodStatic memberMaxOfMany
Returns the largest value from a list of two or more numbers. Example: min = MaxOfMany(x, y, 12)
Public methodStatic memberMinOfMany
Returns the smallest value from a list of two or more numbers. Example: min = MinOfMany(x, y, 12)
Public methodStatic memberSign0
Returns an integer that indicates the sign of a number.
Top
See Also