An NDoc Documented Class Library

Corners Methods

The methods of the Corners class are listed below. For a complete list of Corners class members, see the Corners Members topic.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
FindCorners Finds the Corners of this FeatureStroke
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
slopeAngle Computes the slope angle between two indices Arctan(rise over run)
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
leastSquaresCircleFit (inherited from Featurefy.LeastSquares)Overloaded.  
leastSquaresLineFit (inherited from Featurefy.LeastSquares)Overloaded.  
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

Private Instance Methods

distance Finds the Euclidean distance between two Points.
findInitCorners Find the initial corner estimations of a stroke, indicating likely places where a stroke can be split up into corresponding substrokes.
findLocalMaxima Finds local maxima within an array of doubles
findLocalMinima Finds a local minima within an array of doubles.
mergeByArc Combine substrokes whose combined arc or line segments are within some error of their individual segments summed.
mergeByLength Combines substrokes that are adjacent where one is less than 20% of the length of the other.
trimCloseCorners Removes corners from an array that are too close together. Also removes points that have slow speed but very low curvature.
trimNoisyCorners Removes corners where from the inputted corners array where user specified speed and curvature thresholds are not met. In other words, we use this to combine our previous thresholds and see if certain corners fail to be included into both categories. The basic idea is that you can relax thresholds here and see if some points fail miserably on a certain condition. NOTE: I found that this provided bad results, so I don't actually use it but I've included in here just the same.

See Also

Corners Class | Fragmenter Namespace