The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



FindObject


Unit: SDL_dendrogram
Class: TDendrogram
Declaration: function FindObject (ObjCoord: integer): integer;

The method FindObject searches through all branches of the dendrogram and returns the object number of the branch which is closest to ObjCoord. The parameter ObjCoord is the coordinate along the object axis (i.e. the branch index).

FindObject returns a zero value if ObjCoord is outside the range of valid object coordinates (that is 1 to Data.NrOfRows).


Last Update: 2014-Jun-02