Class VLChamferMatchingContour.TVLChamferTemplateCoordinates
From Mitov Wiki Doc
				
				
				
				
																
				
				
								
				This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: VisionLabPkg
Unit: VLChamferMatchingContour
Inherits: TLPPersistent
Contents | 
Syntax
Delphi:
type TVLChamferTemplateCoordinates = class( TLPPersistent )
C++ Builder:
class TVLChamferTemplateCoordinates : public TLPPersistent
Visual C++ (MFC):
class CTVLChamferTemplateCoordinates : public CTLPPersistent
C# (.NET):
public ref class ChamferTemplateCoordinates : Vcl.VclProperty
Summary
Template coordinates class.
Description
Defines class containing template coordinates.
Properties
Public
- Items - Allows access to individual coordinate from the collection.
 - Count - Returns the number of coordinates.
 
Methods
Public
- procedure Add(APoint : TPoint) - Adds a new coordinate to the list.
 - procedure Add(X : Integer; Y : Integer) - Adds a new coordinate to the list.
 - procedure Insert(AIndex : Integer; APoint : TPoint) - Inserts a new coordinate in the list at a position.
 - procedure Insert(AIndex : Integer; X : Integer; Y : Integer) - Inserts a new coordinate in the list at a position.
 - procedure Delete(AIndex : Integer) - Deletes a coordinate from the list.
 - procedure Clear() - Clears the list of coordinates.
 - procedure FromBitmap(ABitmap : TBitmap) - Creates a list of coordinates from a black and white bitmap.
 - procedure FromBuffer(ABuffer : IVLImageBuffer) - Creates a list of coordinates from a black and white image buffer.
 
Pins
- InputPin - Image or polygon data template input pin.