ccstruct/mod128.h File Reference

#include "points.h"

Go to the source code of this file.



Define Documentation

#define DIRBITS   7

Number of bits used.

Definition at line 28 of file mod128.h.

#define DIRSCALE   1000

Length of vector.

Definition at line 30 of file mod128.h.

#define MODULUS   128

Range of directions.

File: mod128.h (Formerly dir128.h)
Header for class which implements modulo arithmetic.
Ray Smith
Tue Mar 26 17:48:13 GMT 1991
 * (C) Copyright 1991, Hewlett-Packard Ltd.
 ** Licensed under the Apache License, Version 2.0 (the "License");
 ** you may not use this file except in compliance with the License.
 ** You may obtain a copy of the License at
 ** Unless required by applicable law or agreed to in writing, software
 ** distributed under the License is distributed on an "AS IS" BASIS,
 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 ** See the License for the specific language governing permissions and
 ** limitations under the License.

Definition at line 26 of file mod128.h.

Referenced by DIR128::DIR128(), PDLSQ::fit(), DIR128::operator-(), and DIR128::operator=().

Generated on Wed Feb 28 19:49:16 2007 for Tesseract by  doxygen 1.5.1