MCPcopy Create free account
hub / github.com/creatale/node-dv / NextExtremity

Function NextExtremity

deps/tesseract/classify/mfoutline.cpp:239–246  ·  view source on GitHub ↗

---------------------------------------------------------------------------*/ * This routine returns the next point in the micro-feature * outline that is an extremity. The search starts after * EdgePoint. The routine assumes that the outline being * searched is not a degenerate outline (i.e. it must have * 2 or more edge points). * @param EdgePoint start search from this point * @return N

Source from the content-addressed store, hash-verified

237 * @note History: 7/26/89, DSJ, Created.
238 */
239MFOUTLINE NextExtremity(MFOUTLINE EdgePoint) {
240 EdgePoint = NextPointAfter(EdgePoint);
241 while (!PointAt(EdgePoint)->ExtremityMark)
242 EdgePoint = NextPointAfter(EdgePoint);
243
244 return (EdgePoint);
245
246} /* NextExtremity */
247
248
249/*---------------------------------------------------------------------------*/

Callers 1

ConvertToMicroFeaturesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected