MeVisLab Toolbox Reference
CSOMath.h File Reference

Go to the source code of this file.

Namespaces

namespace  ml
 Defines the class GetTileJob.
namespace  ml::CSOMath

Functions

MLCSO_EXPORT double ml::CSOMath::computeArea (const std::vector< Vector3 > &points, const Vector3 &normal)
 Computes the area of the polygon that is given as a list of points.
MLCSO_EXPORT void ml::CSOMath::computeAreaAndCenterOfGravity (const std::vector< Vector3 > &points, const Vector3 &normal, const Vector3 &centerPoint, double &area, Vector3 &centerOfGravity)
MLCSO_EXPORT size_t ml::CSOMath::getHashKeyForMatrix4 (const ml::Matrix4 &matrix)
 Returns a hash key for a given matrix.
MLCSO_EXPORT int ml::CSOMath::floorToInt (const double x)
MLCSO_EXPORT int ml::CSOMath::ceilToInt (const double x)
MLCSO_EXPORT double ml::CSOMath::computeDirectionDotProduct (const Vector3 &predPos, const Vector3 &middlePos, const Vector3 &succPos)

Variables

const double ml::CSOMath::smallNumber = 10e-10