32 const unsigned int numSmoothingPasses,
33 const float smoothingFactor,
const unsigned int smoothRange);
39 unsigned int numSmoothingPasses,
#define MLCSO_EXPORT
Defines export symbols for classes, so they can be used in other DLLs.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
SSIZE_T MLssize_t
The signed ML size type which is a signed 32 bit size_t on 32 bit platforms and 64 bit one on 64 bit ...
MLssize_t getClosedCSOIndexLeavingPositive(MLssize_t i, MLssize_t j, MLssize_t numPositions)
Helper function to compute an index into a closed CSO leaving right.
MLCSO_EXPORT void smooth3DPositions(std::vector< Vector3 > &positions, const MLssize_t numPositions, bool isOpen, unsigned int numSmoothingPasses, double smoothingFactor, unsigned int smoothRange, bool displacementAdjustment)
Smooths the given 3D positions on base of a Laplacian smoothing with a deflation correction.
MLCSO_EXPORT void smooth2DPositions(std::vector< Vector2 > &positions, const unsigned int numPositions, const unsigned int numSmoothingPasses, const float smoothingFactor, const unsigned int smoothRange)
Smooths the given 2D positions on base of a Laplacian smoothing with a deflation correction.
MLssize_t getClosedCSOIndexLeavingNegative(MLssize_t i, MLssize_t j, MLssize_t numPositions)
Helper function to compute an index into a closed CSO leaving left.