Library Math[ Search | Keywords | Classes | Data | Functions ]
| const RiReal | RI_NAN; |
| const RiReal | RI_INF; |
| // Set operations | |
| RiInterval | operator&(const RiInterval &a, const RiInterval &b); |
| RiInterval | operator|(const RiInterval &a, const RiInterval &b); |
| // Arithmetic operators | |
| RiInterval | operator+(const RiInterval &lhs, const RiInterval &rhs); |
| RiInterval | operator-(const RiInterval &lhs, const RiInterval &rhs); |
| RiInterval | operator*(const RiInterval &lhs, const RiInterval &rhs); |
| RiInterval | operator/(const RiInterval &lhs, RiReal f); |
| ostream & | operator<<(ostream &o, const RiInterval &a); |
| RiInterval | operator&(const RiInterval &a, const RiInterval &b) ; |
| RiInterval | operator|(const RiInterval &a, const RiInterval &b) ; |
| // Use faster functions when RiReal is a float | |
| // These simply overload the double versions | |
| float | sqrt(float f) ; |
| float | cos(float f) ; |
| float | sin(float f) ; |
| float | tan(float f) ; |
| float | acos(float f) ; |
| float | asin(float f) ; |
| float | pow(float f, float exp) ; |
| float | atan2(float a, float b) ; |
| float | fabs(float f) ; |
| float | floor(float f) ; |
| // Comparisons between RiReals | |
| RiReal | RiClamp(RiReal min, RiReal max, RiReal num) ; |
| RiReal | RiMin(RiReal a, RiReal b) ; |
| RiReal | RiMin(RiReal a, RiReal b, RiReal c) ; |
| RiReal | RiMin(RiReal a, RiReal b, RiReal c, RiReal d) ; |
| RiReal | RiMax(RiReal a, RiReal b) ; |
| RiReal | RiMax(RiReal a, RiReal b, RiReal c) ; |
| RiReal | RiMax(RiReal a, RiReal b, RiReal c, RiReal d) ; |
| bool | RiClose(RiReal a, RiReal b, RiReal eps ) ; |
ne RiInterval operator&(const RiInterval &a, const RiInterval &b); ********************************************************* FUNCTION GROUP: Set operations Intersection of two intervals *******************************************************
inline RiInterval operator&(const RiInterval &a, const RiInterval &b);
Function is currently defined inline.
Union of two intervals
inline RiInterval operator|(const RiInterval &a, const RiInterval &b);
Function is currently defined inline.
RiInterval operator+(const RiInterval &lhs, const RiInterval &rhs);
RiInterval operator-(const RiInterval &lhs, const RiInterval &rhs);
RiInterval operator*(const RiInterval &lhs, const RiInterval &rhs);
RiInterval operator/(const RiInterval &lhs, RiReal f);
eam &operator<<(ostream &o, const RiInterval &a); ********************************************************* FUNCTION GROUP: Output operators Output operator *******************************************************
ostream &operator<<(ostream &o, const RiInterval &a);
ne RiInterval operator&(const RiInterval &a, const RiInterval &b)No documentation available.
inline RiInterval operator&(const RiInterval &a, const RiInterval &b)
;
Function is currently defined inline.
ne RiInterval operator|(const RiInterval &a, const RiInterval &b)No documentation available.
inline RiInterval operator|(const RiInterval &a, const RiInterval &b)
;
Function is currently defined inline.
a NaN constant
extern const RiReal RI_NAN;
a constant equal to infinity.
extern const RiReal RI_INF;
inline float sqrt(float f)
;
Function is currently defined inline.
inline float cos(float f)
;
Function is currently defined inline.
ne float sin(float f)No documentation available.
inline float sin(float f)
;
Function is currently defined inline.
ne float tan(float f)No documentation available.
inline float tan(float f)
;
Function is currently defined inline.
ne float acos(float f)No documentation available.
inline float acos(float f)
;
Function is currently defined inline.
ne float asin(float f)No documentation available.
inline float asin(float f)
;
Function is currently defined inline.
ne float pow(float f, float exp)No documentation available.
inline float pow(float f, float exp)
;
Function is currently defined inline.
ne float atan2(float a, float b)No documentation available.
inline float atan2(float a, float b)
;
Function is currently defined inline.
ne float fabs(float f)
inline float erf(float f)
return ferf(f);
inline float erfc(float f)
return ferfc(f);
inline float fabs(float f)
;
Function is currently defined inline.
ne float floor(float f)No documentation available.
inline float floor(float f)
;
Function is currently defined inline.
ne RiReal RiClamp(RiReal min, RiReal max, RiReal num) ********************************************************* FUNCTION GROUP: Comparisons between RiReals
*******************************************************
inline RiReal RiClamp(RiReal min, RiReal max, RiReal num)
;
Function is currently defined inline.
inline RiReal RiMin(RiReal a, RiReal b)
;
Function is currently defined inline.
inline RiReal RiMin(RiReal a, RiReal b, RiReal c)
;
Function is currently defined inline.
inline RiReal RiMin(RiReal a, RiReal b, RiReal c, RiReal d)
;
Function is currently defined inline.
inline RiReal RiMax(RiReal a, RiReal b)
;
Function is currently defined inline.
inline RiReal RiMax(RiReal a, RiReal b, RiReal c)
;
Function is currently defined inline.
inline RiReal RiMax(RiReal a, RiReal b, RiReal c, RiReal d)
;
Function is currently defined inline.
Compares to RiReals based on an epsilon This function should be moved in with a group of fuzzy compares (for RiReal, RiVector3, Directions, Planes, etc)
inline bool RiClose(RiReal a, RiReal b, RiReal eps = RiRealEpsilon) ;
Function is currently defined inline.