src/classify/mfx.cpp
MICROFEATURES ConvertToMicroFeatures(MFOUTLINE Outline, MICROFEATURES MicroFeatures) {
  MFOUTLINE Current;
  MFOUTLINE Last;
  MFOUTLINE First;

  if (DegenerateOutline(Outline)) {
    return (MicroFeatures);
  }

  First = NextExtremity(Outline);
  Last = First;
  do {
    Current = NextExtremity(Last);
    if (!PointAt(Current)->Hidden) {
      auto NewFeature = ExtractMicroFeature(Last, Current);
      MicroFeatures.push_front(NewFeature);
    }
    Last = Current;
  } while (Last != First);

  return MicroFeatures;
}
/**
 * Convert Outline to MicroFeatures
 * @param Outline         outline to extract micro-features from
 * @param MicroFeatures   list of micro-features to add to
 * @return List of micro-features with new features added to front.
 * @note Globals: none
 */
Convert Outline to MicroFeatures
@param Outline         outline to extract micro-features from
@param MicroFeatures   list of micro-features to add to
@return List of micro-features with new features added to front.
@note Globals: none
Convert Outline to MicroFeatures @param Outline outline to extract micro - features from @param MicroFeatures list of micro - features to add to @return List of micro - features with new features added to front . @note Globals : none
MICROFEATURES ConvertToMicroFeatures(MFOUTLINE Outline, MICROFEATURES MicroFeatures) {
  MFOUTLINE Current;
  MFOUTLINE Last;
  MFOUTLINE First;
  if (DegenerateOutline(Outline)) {
    return (MicroFeatures);
  }
  First = NextExtremity(Outline);
  Last = First;
  do {
    Current = NextExtremity(Last);
    if (!PointAt(Current)->Hidden) {
      auto NewFeature = ExtractMicroFeature(Last, Current);
      MicroFeatures.push_front(NewFeature);
    }
    Last = Current;
  } while (Last != First);
  return MicroFeatures;
}
MICROFEATURES ConvertToMicroFeatures ( MFOUTLINE Outline , MICROFEATURES MicroFeatures ) { MFOUTLINE Current ; MFOUTLINE Last ; MFOUTLINE First ; if ( DegenerateOutline ( Outline ) ) { return ( MicroFeatures ) ; } First = NextExtremity ( Outline ) ; Last = First ; do { Current = NextExtremity ( Last ) ; if ( ! PointAt ( Current ) -> Hidden ) { auto NewFeature = ExtractMicroFeature ( Last , Current ) ; MicroFeatures . push_front ( NewFeature ) ; } Last = Current ; } while ( Last != First ) ; return MicroFeatures ; }
Convert Outline to MicroFeatures
 @param Outline         outline to extract micro-features from
 @param MicroFeatures   list of micro-features to add to
 @return List of micro-features with new features added to front.
Convert Outline to MicroFeatures @param Outline outline to extract micro - features from @param MicroFeatures list of micro - features to add to @return List of micro - features with new features added to front .