public class MBMath extends MBExpression
colors, decisions, featureData, ff, heatMap, json, lookUp, math, name, parse, ramps, string, transformer, types, variableBindings, zoom
functionName
NIL
Constructor and Description |
---|
MBMath(JSONArray json) |
Modifier and Type | Method and Description |
---|---|
Expression |
getExpression()
Determines which expression to use.
|
Expression |
mathAcos()
Returns the arccosine of the input.
|
Expression |
mathAdd()
Returns the sum of the inputs.
|
Expression |
mathAsin()
Returns the arcsine of the input.
|
Expression |
mathAtan()
Returns the arctangent of the input.
|
Expression |
mathCos()
Returns the cosine of the input.
|
Expression |
mathDivide()
Returns the result of floating point division of the first input by the second.
|
Expression |
mathE()
Returns the mathematical constant e.
|
Expression |
mathExponent()
Returns the result of raising the first input to the power specified by the second.
|
Expression |
mathLn()
Returns the natural logarithm of the input.
|
Expression |
mathLn2()
Returns mathematical constant ln(2).
|
Expression |
mathLog10()
Returns the base-ten logarithm of the input.
|
Expression |
mathLog2()
Returns the base-two logarithm of the input.
|
Expression |
mathMax()
Returns the maximum value of the inputs.
|
Expression |
mathMin()
Returns the minimum value of the inputs.
|
Expression |
mathMultiply()
Returns the product of the inputs.
|
Expression |
mathPi()
Returns the mathematical constant pi.
|
Expression |
mathRemainder()
Returns the remainder after integer division of the first input by the second.
|
Expression |
mathSin()
Returns the sine of the input.
|
Expression |
mathSqrt()
Returns the square root of the input.
|
Expression |
mathSubtract()
For two inputs, returns the result of subtracting the second input from the first.
|
Expression |
mathTan()
Returns the tangent of the input.
|
canCreate, create, getName, throwInsufficientArgumentCount, throwUnexpectedArgumentCount, transformExpression, transformLiteral
accept, dispatchArguments, equals, evaluate, functionName, getFallbackValue, getFunctionName, getParameters, getParameterValue, getParameterValue, hashCode, setFallbackValue, setName, setParameters, toString
evaluate
evaluate
public Expression mathSubtract()
public Expression mathMultiply()
public Expression mathDivide()
public Expression mathRemainder()
public Expression mathExponent()
public Expression mathAdd()
public Expression mathAcos()
public Expression mathAsin()
public Expression mathAtan()
public Expression mathCos()
public Expression mathE()
public Expression mathLn()
public Expression mathLn2()
public Expression mathLog10()
public Expression mathLog2()
public Expression mathMax()
public Expression mathMin()
public Expression mathPi()
public Expression mathSin()
public Expression mathSqrt()
public Expression mathTan()
public Expression getExpression() throws MBFormatException
MBExpression
getExpression
in class MBExpression
MBFormatException
Copyright © 1996–2022 Geotools. All rights reserved.