#include "ocrfeatures.h"
#include "fpoint.h"
#include "mfoutline.h"
Go to the source code of this file.
| #define MAX_OUTLINE_FEATURES (100) |
Include Files and Type Defines
| Enumerator |
|---|
| OutlineFeatX |
|
| OutlineFeatY |
|
| OutlineFeatLength |
|
| OutlineFeatDir |
|
Definition at line 28 of file outfeat.h.
Private Code
Definition at line 78 of file outfeat.cpp.
FLOAT32 NormalizedAngleFrom(FPOINT *Point1, FPOINT *Point2, FLOAT32 FullScale)
BOOL8 AddFeature(FEATURE_SET FeatureSet, FEATURE Feature)
const FEATURE_DESC_STRUCT OutlineFeatDesc
FEATURE NewFeature(const FEATURE_DESC_STRUCT *FeatureDesc)
FLOAT32 DistanceBetween(FPOINT A, FPOINT B)
Definition at line 111 of file outfeat.cpp.
137 FeatureStart =
PointAt(Next)->Point;
146 FeatureEnd =
PointAt(Next)->Point;
150 while (Next != First);
void AddOutlineFeatureToSet(FPOINT *Start, FPOINT *End, FEATURE_SET FeatureSet)
#define DegenerateOutline(O)
#define NextPointAfter(E)
Definition at line 155 of file outfeat.cpp.
182 TotalWeight += Length;
184 Origin = TotalX / TotalWeight;