MaxPlus Python API Reference
Math Class Reference
+ Inheritance diagram for Math:

Public Member Functions

def BasisFromZDir (*args)
 
def Bias (*args)
 
def BoxStep (*args)
 
def Clamp (*args)
 
def Gain (*args)
 
def Noise1 (*args)
 
def Noise2 (*args)
 
def Noise3 (*args)
 
def Noise3DS (*args)
 
def Noise4 (*args)
 
def SmoothStep (*args)
 
def SRamp (*args)
 
def Threshold (*args)
 
def Turbulence (*args)
 

Static Public Attributes

 BasisFromZDir = staticmethod(BasisFromZDir)
 
 Bias = staticmethod(Bias)
 
 BoxStep = staticmethod(BoxStep)
 
 Clamp = staticmethod(Clamp)
 
 Gain = staticmethod(Gain)
 
 Noise1 = staticmethod(Noise1)
 
 Noise2 = staticmethod(Noise2)
 
 Noise3 = staticmethod(Noise3)
 
 Noise3DS = staticmethod(Noise3DS)
 
 Noise4 = staticmethod(Noise4)
 
 SmoothStep = staticmethod(SmoothStep)
 
 SRamp = staticmethod(SRamp)
 
 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 
 Threshold = staticmethod(Threshold)
 
 Turbulence = staticmethod(Turbulence)
 

Detailed Description

Math utility functions.

Member Function Documentation

◆ BasisFromZDir()

def BasisFromZDir ( args)
BasisFromZDir(Point3 zDir, Point3 xDir, Point3 yDir)

◆ Bias()

def Bias ( args)
Bias(float a, float b) -> float

◆ BoxStep()

def BoxStep ( args)
BoxStep(float a, float b, float x) -> float

◆ Clamp()

def Clamp ( args)
Clamp(float x, float a, float b) -> float

◆ Gain()

def Gain ( args)
Gain(float a, float b) -> float

◆ Noise1()

def Noise1 ( args)
Noise1(float arg) -> float

◆ Noise2()

def Noise2 ( args)
Noise2(Point2 p) -> float

◆ Noise3()

def Noise3 ( args)
Noise3(Point3 p) -> float

◆ Noise3DS()

def Noise3DS ( args)
Noise3DS(Point3 p) -> float

◆ Noise4()

def Noise4 ( args)
Noise4(Point3 p, float time) -> float

◆ SmoothStep()

def SmoothStep ( args)
SmoothStep(float a, float b, float x) -> float

◆ SRamp()

def SRamp ( args)
SRamp(float x, float a, float b, float d) -> float

◆ Threshold()

def Threshold ( args)
Threshold(float x, float a, float b) -> float

◆ Turbulence()

def Turbulence ( args)
Turbulence(Point3 p, float freq) -> float