public class MathObject extends JSObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/Microsoft.JScript.MathObject
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: Microsoft.JScript, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: Microsoft.JScript
|
static java.lang.String |
className
Qualified class name: Microsoft.JScript.MathObject
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
MathObject() |
MathObject(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static double |
abs(double d) |
static double |
acos(double x) |
static double |
asin(double x) |
static double |
atan(double x) |
static double |
atan2(double dy,
double dx) |
static MathObject |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into MathObject, a cast assert is made to check if types are compatible. |
static double |
ceil(double x) |
static double |
cos(double x) |
static double |
exp(double x) |
static double |
floor(double x) |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
static double |
log(double x) |
static double |
max(NetObject x,
NetObject y,
NetObject... args) |
static double |
min(NetObject x,
NetObject y,
NetObject... args) |
static double |
pow(double dx,
double dy) |
static double |
random() |
static double |
round(double d) |
void |
setJCOInstance(JCObject instance) |
static double |
sin(double x) |
static double |
sqrt(double x) |
static double |
tan(double x) |
AddField, GetMember, GetMembers, SetMemberValue2GetField, GetFields, GetMethod, GetMethod, GetMethods, GetParent, GetProperties, GetProperty, GetProperty, getUnderlyingSystemType, InvokeMember, InvokeMemberpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public MathObject()
throws java.lang.Throwable
java.lang.Throwablepublic MathObject(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static double abs(double d)
throws java.lang.Throwable
java.lang.Throwablepublic static double acos(double x)
throws java.lang.Throwable
java.lang.Throwablepublic static double asin(double x)
throws java.lang.Throwable
java.lang.Throwablepublic static double atan(double x)
throws java.lang.Throwable
java.lang.Throwablepublic static double atan2(double dy,
double dx)
throws java.lang.Throwable
java.lang.Throwablepublic static MathObject cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into MathObject, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedMathObject instancejava.lang.Throwable - in case of error during cast operationpublic static double ceil(double x)
throws java.lang.Throwable
java.lang.Throwablepublic static double cos(double x)
throws java.lang.Throwable
java.lang.Throwablepublic static double exp(double x)
throws java.lang.Throwable
java.lang.Throwablepublic static double floor(double x)
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class JSObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class JSObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class JSObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class JSObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class JSObjectJCType representing the CLR Type of the instantiated Classpublic static double log(double x)
throws java.lang.Throwable
java.lang.Throwablepublic static double max(NetObject x, NetObject y, NetObject... args) throws java.lang.Throwable, NotSupportedException, InvalidOperationException, NotImplementedException, JScriptException, IndexOutOfRangeException, ArgumentNullException, MissingMethodException, ArgumentException, ArgumentOutOfRangeException, NullReferenceException, FormatException, OverflowException, ArithmeticException
java.lang.ThrowableNotSupportedExceptionInvalidOperationExceptionNotImplementedExceptionJScriptExceptionIndexOutOfRangeExceptionArgumentNullExceptionMissingMethodExceptionArgumentExceptionArgumentOutOfRangeExceptionNullReferenceExceptionFormatExceptionOverflowExceptionArithmeticExceptionpublic static double min(NetObject x, NetObject y, NetObject... args) throws java.lang.Throwable, NotSupportedException, InvalidOperationException, NotImplementedException, JScriptException, IndexOutOfRangeException, ArgumentNullException, MissingMethodException, ArgumentException, ArgumentOutOfRangeException, NullReferenceException, FormatException, OverflowException, ArithmeticException
java.lang.ThrowableNotSupportedExceptionInvalidOperationExceptionNotImplementedExceptionJScriptExceptionIndexOutOfRangeExceptionArgumentNullExceptionMissingMethodExceptionArgumentExceptionArgumentOutOfRangeExceptionNullReferenceExceptionFormatExceptionOverflowExceptionArithmeticExceptionpublic static double pow(double dx,
double dy)
throws java.lang.Throwable,
ArithmeticException
java.lang.ThrowableArithmeticExceptionpublic static double random()
throws java.lang.Throwable
java.lang.Throwablepublic static double round(double d)
throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class JSObjectpublic static double sin(double x)
throws java.lang.Throwable
java.lang.Throwablepublic static double sqrt(double x)
throws java.lang.Throwable
java.lang.Throwablepublic static double tan(double x)
throws java.lang.Throwable
java.lang.Throwable