DGtal
1.5.beta
Transforms.ih
1
/**
2
* @file
3
*/
4
5
Transform::Transform()
6
: _scale(1.0), _deltaX(0.0), _deltaY(0.0), _height(0.0)
7
{ }
8
9
TransformFIG::TransformFIG()
10
: _maxDepth(std::numeric_limits<int>::max()),_minDepth(0)
11
{ }
12
13
14
double Transform::round( const double & x )
15
{
16
return std::floor( x + 0.5 );
17
}
src
Board
Transforms.ih
Generated on Sat Nov 9 2024 12:44:56 for DGtal by
1.9.1