DGtal 1.3.0
Loading...
Searching...
No Matches
Transforms.ih
1/**
2 * @file
3 */
4
5Transform::Transform()
6 : _scale(1.0), _deltaX(0.0), _deltaY(0.0), _height(0.0)
7{ }
8
9TransformFIG::TransformFIG()
10 : _maxDepth(std::numeric_limits<int>::max()),_minDepth(0)
11{ }
12
13
14double Transform::round( const double & x )
15{
16 return std::floor( x + 0.5 );
17}